https://github.com/hallindavid/scaffold-laravel/blob/master/an%20op%20(check%20out%20CTO.ai) to quickly scaffold out laravel projects with common packages
This is a quick-install for Laravel v7 (at time of release). The first prompt is for your project name, it then runs the
laravel new command in a docker container, and syncs it to your current directory
After Laravel has been created, it will then pull/install any packages you indicated during the inital run
php artisan telescope:install
php artisan ui bootstrap
php artisan ui vue
php artisan ui react
php artisan ui bootstrap --auth
php artisan ui vue --auth
php artisan ui react --auth
--authpackages, it will also prompt you if you want to require the DCzajkowski/auth-tests (https://github.com/DCzajkowski/auth-tests) package
Ideally this op will add more and more supported packages(composer and maybe NPM as well) so you can scaffold out your app really easily and basically start working on laravel with a nearly finished product
First make sure you have the CTO.ai CLI tool - they will also require docker
Instructions on pulling the op from the registry are to come...
You should be able to run the command like this
op run scaffold-laravel
To say thanks, you can share the project on social media or
Please report all issues in the GitHub Issue tracker
This package does take longer than just running the
laravel new xxxxxxxx command locally because it actually sets it up in a docker image, and then syncs it to your current working directory. For that reason, if you're just creating a new laravel project and don't need any of the other packages, I wouldn't use this.
If you have a package you always use and want to add it to this OP, just let me know, I'll do my best to add them - or fork/PR it back in.
I'd love to see this also create a database, and finish setting your .env file, but I'm not sure how that would work from inside a docker container...
Shoot me an email, or DM me on twitter and I am happy to allow other contributors.
This package isn't built by, maintained, or associated with Laravel at all - I just love their work.