Illuminate Console App Skeleton
A minimal orchestration of Symfony's console with Illuminate components on top.
In clearer words; A minimal DI-enabled console application skeleton built on top of symfony/console and standalone Illuminate (Laravel) components.
Included Illuminate components:
Supported Illuminate components:
Create a new application
$ composer create-project sepehr/illuminate-cli-app new-cli-app/
Running your new application
$ chmod +x bin/app $ bin/app
Please note that this is not a framework, but an application skeleton; thus you're free to make any changes to any files you want; there's no "core".
$ bin/app example:welcome [your-name]
Remove the example command
Remove the command class from
$app->add( new Example\ExampleCommand($container) );
And then remove the directory:
$ rm -r src/Commands/Example
Add a new regular command
Add a new container-aware command
Testing your commands
Adding more Illiminate components