PHPackages                             syrotchukandrew/chain-command-bundle - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [CLI &amp; Console](/categories/cli)
4. /
5. syrotchukandrew/chain-command-bundle

ActiveSymfony-bundle[CLI &amp; Console](/categories/cli)

syrotchukandrew/chain-command-bundle
====================================

Symfony bundle that implements command chaining functionality.

06PHP

Since Nov 8Pushed 9y ago1 watchersCompare

[ Source](https://github.com/syrotchukandrew/ChainCommandBundle)[ Packagist](https://packagist.org/packages/syrotchukandrew/chain-command-bundle)[ RSS](/packages/syrotchukandrew-chain-command-bundle/feed)WikiDiscussions master Synced today

READMEChangelogDependenciesVersions (1)Used By (0)

ChainCommandBundle
==================

[](#chaincommandbundle)

ChainCommandBundle help you run your commands as chain of commands. You have opportunity to register console

commands from Symfony bundles as members of command chain. You define main command and append other command

as children with some priority. You can create one or several chains. When main command in chain is running

every command in chain will be accomplished in order your priority.

Installation
------------

[](#installation)

\###Step 1: Download the Bundle

Open a terminal, change directory to your project directory and run the following command to download the this bundle:

```
$ composer require syrotchukandrew/chain-command-bundle
```

or add to your composer.json file following:

```
"require" : {
        "syrotchukandrew/chain-command-bundle" : "dev-master"
    },
"repositories" : [{
        "type" : "vcs",
        "url" : "https://github.com/syrotchukandrew/ChainCommandBundle.git"
    }],
```

and run command:

```
$ composer update
```

\###Step 2: Enable the Bundle

Then, enable the bundle by adding it to the list of registered bundles in the `app/AppKernel.php` file of your project:

```
