krasavcheg.ua / chain-command-bundle
Symfony bundle - implements command chaining functionality.
Installs: 14
Dependents: 0
Suggesters: 0
Security: 0
Stars: 0
Watchers: 1
Forks: 0
Open Issues: 0
Type:symfony-bundle
Requires
- krasavcheg.ua/bar-bundle: dev-master
- krasavcheg.ua/foo-bundle: dev-master
This package is not auto-updated.
Last update: 2025-04-26 23:10:03 UTC
README
ChainCommandBundle is a Symfony bundle for command chaining functionality.
Installation
###Step 1: Download the Bundle
Open a command console, enter your project directory and execute the following command to download the latest stable version of this bundle:
$ composer require krasavcheg.ua/chain-command-bundle
###Step 2: Enable the Bundle
Then, enable the bundle by adding it to the list (FooBundle and BarBundle provided for demo purposes) of registered bundles
in the app/AppKernel.php
file of your project:
<?php // app/AppKernel.php // ... class AppKernel extends Kernel { public function registerBundles() { $bundles = array( // ... new krasavchegUa\FooBundle\FooBundle(), new krasavchegUa\BarBundle\BarBundle(), new krasavchegUa\ChainCommandBundle\ChainCommandBundle(), ); // ... } // ... }
###Step 3: Run command
php bin/console foo:hello
Usage?
See documentation.