davidpeach/laravel-base-command is a Laravel package.
It currently has 1 GitHub stars and 61 downloads on Packagist (latest version v1.0.0).
Install it with composer require davidpeach/laravel-base-command.
Discover more Laravel packages by davidpeach
or browse all Laravel packages to compare alternatives.
Last updated
A little package to help create an automated flow in a Laravel project.
Let's say you or your company build Laravel sites / apps regularly. And let's say that there are a bunch of steps you go through each and every time you start a new project.
Wouldn't it be nice if you could automate that whole process?
Well that is exactly what Laravel Base Command tries to help you with.
By extending this package with your own, and with minimal setup, you can get a working setup flow.
composer require davidpeach/laravel-base-command
As Laravel Base Command attempts to do most of the heavy lifting for you, you only really need to create your Step
classes -- one for each step that you wish to perform.
ServiceProvider class that extends BaseCommandServiceProviderStep classes in your package's /src/Steps folder. A step class must extend either StepAlways,
StepBinary or StepChoice.When extending laravel-base-command, you define a command to run in order to run through your setup process. "Your
setup command" is just the command that you run. e.g. php artisan mycompany:setup.
Essentially, your own package's Service Provider should extend the one in this project. Then you just create as many Task classes as is needed for your own setup steps.
Your own steps should extend either StepAlways, StepBinary or StepChoices.
A full explanation and documentation is coming soon.
Thanks for your patience, Dave.