PHPackages                             matthiasnoback/console-command-generator-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. matthiasnoback/console-command-generator-bundle

ActiveSymfony-bundle

matthiasnoback/console-command-generator-bundle
===============================================

Bundle for generating Symfony2 commands

9254PHP

Since Jun 13Pushed 11y ago1 watchersCompare

[ Source](https://github.com/matthiasnoback/ConsoleCommandGeneratorBundle)[ Packagist](https://packagist.org/packages/matthiasnoback/console-command-generator-bundle)[ RSS](/packages/matthiasnoback-console-command-generator-bundle/feed)WikiDiscussions master Synced 5d ago

READMEChangelogDependenciesVersions (1)Used By (0)

Generate console commands
=========================

[](#generate-console-commands)

Install this bundle using Composer. Register the bundle in `app/AppKernel.php`, then run:

```
app/console generate:console-command

```

You will be asked to supply some information, after which a command class will be auto-generated for you.

[![Screenshot](https://raw.githubusercontent.com/matthiasnoback/ConsoleCommandGeneratorBundle/master/Resources/doc/assets/generate-console-command.png)](https://raw.githubusercontent.com/matthiasnoback/ConsoleCommandGeneratorBundle/master/Resources/doc/assets/generate-console-command.png)

The resulting console command would look like this:

```
namespace Matthias\Bundle\DemoBundle\Command;

use Symfony\Bundle\FrameworkBundle\Command\ContainerAwareCommand;
use Symfony\Component\Console\Input\InputArgument;
use Symfony\Component\Console\Input\InputOption;
use Symfony\Component\Console\Input\InputInterface;
use Symfony\Component\Console\Output\OutputInterface;

class CreatePostCommand extends ContainerAwareCommand
{
    protected function configure()
    {
        $this
            ->setName('post:create')
            ->addArgument('title', InputArgument::REQUIRED, null, null)
        ;
    }

    protected function execute(InputInterface $input, OutputInterface $output)
    {
    }
}
```

###  Health Score

23

—

LowBetter than 27% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity17

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity41

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 100% of commits — single point of failure

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/1193078?v=4)[Matthias Noback](/maintainers/matthiasnoback)[@matthiasnoback](https://github.com/matthiasnoback)

---

Top Contributors

[![matthiasnoback](https://avatars.githubusercontent.com/u/1193078?v=4)](https://github.com/matthiasnoback "matthiasnoback (4 commits)")

### Embed Badge

![Health badge](/badges/matthiasnoback-console-command-generator-bundle/health.svg)

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

PHPackages © 2026

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