PHPackages                             akmaks/command-chaining-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. akmaks/command-chaining-bundle

ActiveSymfony-bundle

akmaks/command-chaining-bundle
==============================

Bundle provides some functional for calling console commands in chain

023PHP

Since May 25Pushed 4y ago1 watchersCompare

[ Source](https://github.com/akmaks/command-chining-bundle)[ Packagist](https://packagist.org/packages/akmaks/command-chaining-bundle)[ RSS](/packages/akmaks-command-chaining-bundle/feed)WikiDiscussions master Synced 1w ago

READMEChangelogDependenciesVersions (1)Used By (0)

CommandChainingBundle
=====================

[](#commandchainingbundle)

Bundle provides some functional for calling console commands in chain

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

[](#installation)

1. Install package

```
composer require akmaks/command-chaining-bundle

```

2. Create file config/packages/akmaks\_command\_chaining.yaml and configure your chains

```
parameters:
    chains:
        App\UI\Console\FirstMainCommand:
            - App\UI\ConsoleSecondCommand
            - App\UI\ConsoleThirdCommand
            - App\UI\ConsoleSecondCommand
        App\UI\Console\SecondMainCommand:
            - App\UI\ConsoleSecondCommand
            - App\UI\ConsoleThirdCommand
            - App\UI\ConsoleSecondCommand

```

3. Implements CommandChainingInterface in chain commands

For master commands:

```
class CreateCommand extends Command implements CommandChainingInterface
...
    public function isMasterCommand(): bool
    {
        return true;
    }

```

For chain commands:

```
class ConsoleSecondCommand extends Command implements CommandChainingInterface
...
    public function isMasterCommand(): bool
    {
        return false;
    }
...

```

4. Check result:

```
bin/console app:first:main
[2021-05-25 21:07:25]: app:first:main is a master command of a command chain that has registered member commands
[2021-05-25 21:07:25]: app:first:second, app:first:third, app:first:second: are registered as a members of app:first:main command chain
[2021-05-25 21:07:25]: Executing app:first:main command itself first
[2021-05-25 21:07:25]: Executing app:first:main chain members
[2021-05-25 21:07:25]: Execution of app:first:main chain completed

```

###  Health Score

16

—

LowBetter than 5% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity6

Limited adoption so far

Community4

Small or concentrated contributor base

Maturity29

Early-stage or recently created project

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/30605626?v=4)[akmaks](/maintainers/akmaks)[@akmaks](https://github.com/akmaks)

### Embed Badge

![Health badge](/badges/akmaks-command-chaining-bundle/health.svg)

```
[![Health](https://phpackages.com/badges/akmaks-command-chaining-bundle/health.svg)](https://phpackages.com/packages/akmaks-command-chaining-bundle)
```

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
