Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save davidpiesse/572d4aa272fdbaccfd49423b3cf699fc to your computer and use it in GitHub Desktop.
Save davidpiesse/572d4aa272fdbaccfd49423b3cf699fc to your computer and use it in GitHub Desktop.
Bash script for adding common packages when building a new laravel project
//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/dusk@1.0.3?
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