library console-bundle
Simple integration for Symfony/Console into Symfony/HttpKernel based applications
berny/console-bundle
Simple integration for Symfony/Console into Symfony/HttpKernel based applications
- Thursday, June 13, 2013
- by xphere
- Repository
- 1 Watchers
- 0 Stars
- 15 Installations
- PHP
- 0 Dependents
- 0 Suggesters
- 0 Forks
- 0 Open issues
- 2 Versions
- 0 % Grown
Berny\ConsoleBundle
Simple integration for Symfony/Console into Symfony/HttpKernel based applications, (*1)
Installation
With composer/packagist
- Add "berny/console-bundle": "*"
to your composer.json
file
- Run composer update berny/console-bundle
- Add the following bundles to your Kernel:, (*2)
new \Berny\Bundle\TagBundle\TagBundle(),
new \Berny\Bundle\Console\ConsoleBundle(),
- Now you can get the console with
$kernel->getContainer()->get('console')
Commands
You can add Commands automatically to the Console by tagging them in your bundle with the console.command
tag., (*3)