Created
May 25, 2017 10:27
-
-
Save davidpiesse/572d4aa272fdbaccfd49423b3cf699fc to your computer and use it in GitHub Desktop.
Bash script for adding common packages when building a new laravel project
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
//Asks a bunch of questions about potential common packages that you may want to add | |
//Example | |
laravel new test-project | |
//It runs | |
laravelextras | |
//Asks questions | |
There are 27 potential packages you may want to add to your composer file. Select y/n for all of the following. | |
Once complete composer will install all of these packages with the latest version if not defined in the list of packages | |
Install laracasts/flash? | |
y | |
Install guzzlehttp/guzzle? | |
n | |
Install laravel/[email protected]? | |
y | |
//Complete list | |
Script buils a complete list for composer require to run. | |
//Runs composer require with arguements | |
//Completes |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment