PHPackages                             rapotor/console-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. rapotor/console-bundle

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

rapotor/console-bundle
======================

Execute Symfony2 command directly from the application

v1.0(14y ago)26796[8 issues](https://github.com/RapotOR/ConsoleBundle/issues)[1 PRs](https://github.com/RapotOR/ConsoleBundle/pulls)MITPHPPHP &gt;=5.3.2

Since Jun 5Pushed 13y ago2 watchersCompare

[ Source](https://github.com/RapotOR/ConsoleBundle)[ Packagist](https://packagist.org/packages/rapotor/console-bundle)[ Docs](https://github.com/RapotOR/ConsoleBundle)[ RSS](/packages/rapotor-console-bundle/feed)WikiDiscussions master Synced 4w ago

READMEChangelogDependencies (3)Versions (2)Used By (0)

Introduction
============

[](#introduction)

The Sf2gen namespace will be used for a future project. Sf2genConsoleBundle will be a little part of it. Sf2genConsoleBundle give you the possibility to be able to execute a console command direclty from your application. The interface is loaded with the same way than the WebProfilerBundle.

Features
========

[](#features)

- Command autocompletion
- Command history

Use it
======

[](#use-it)

Instead of typing *php app/console list*, you will just have to type *list*. The dot is an alias for *list*.

Have a look :

[![Screenshot](https://github.com/RapotOR/ConsoleBundle/raw/master/Resources/doc/console_icon.png)](https://github.com/RapotOR/ConsoleBundle/raw/master/Resources/doc/console_icon.png)

[![Screenshot](https://github.com/RapotOR/ConsoleBundle/raw/master/Resources/doc/console_input.png)](https://github.com/RapotOR/ConsoleBundle/raw/master/Resources/doc/console_input.png)

[![Screenshot](https://github.com/RapotOR/ConsoleBundle/raw/master/Resources/doc/console_input_autocompletion.png)](https://github.com/RapotOR/ConsoleBundle/raw/master/Resources/doc/console_input_autocompletion.png)

Installation
============

[](#installation)

1. Add this bundle to your vendor/ dir:

    $ git submodule add git://github.com/RapotOR/ConsoleBundle.git vendor/bundles/Sf2gen/Bundle/ConsoleBundle
2. Add the Sf2gen namespace to your autoloader:

    // app/autoload.php $loader-&gt;registerNamespaces(array( 'Sf2gen' =&gt; **DIR**.'/../vendor/bundles', // other namespaces ));
3. Add this bundle to your application's kernel, in the debug section:

    // app/ApplicationKernel.php public function registerBundles() { $bundles = array( // all bundles );

    ```
       if (in_array($this->getEnvironment(), array('dev', 'test'))) {
           // previous bundles like WebProfilerBundle
           $bundles[] = new Sf2gen\Bundle\ConsoleBundle\Sf2genConsoleBundle();
       }

       return $bundles;

    ```

    }
4. Add the following ressource to your routing\_dev.yml:

    // app/config/routing\_dev.yml \_sf2gencdt: resource: "@Sf2genConsoleBundle/Resources/config/routing.yml" prefix: /\_sf2gencdt
5. You have to disable the firewall if you use the `security component`:

    app/config/config.yml
    =====================

    [](#appconfigconfigyml)

    security: firewalls: sf2gen: pattern: /\_sf2gencdt/.\* security: false
6. Here is the full configuration:

    app/config/config.yml
    =====================

    [](#appconfigconfigyml-1)

    sf2gen\_console: new\_process: true # use a new shell process to launch the command toolbar: true # display the toolbar in the current application ; to be disabled to use it in a third application. local: true # add the current application to list of available apps ; if false, the current application is excluded. all: false # will add all apps with a console available without using `apps` in configuration. env: %kernel.environment% #the env used for the kernel setup apps: # use this to have a well defined list. - app - symfony-standard

###  Health Score

30

—

LowBetter than 62% of packages

Maintenance14

Infrequent updates — may be unmaintained

Popularity21

Limited adoption so far

Community17

Small or concentrated contributor base

Maturity58

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 65.4% 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.

###  Release Activity

Cadence

Unknown

Total

1

Last Release

5138d ago

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/109008?v=4)[Cédric Lahouste](/maintainers/rapotor)[@RapotOR](https://github.com/RapotOR)

---

Top Contributors

[![RapotOR](https://avatars.githubusercontent.com/u/109008?v=4)](https://github.com/RapotOR "RapotOR (51 commits)")[![nicodmf](https://avatars.githubusercontent.com/u/173332?v=4)](https://github.com/nicodmf "nicodmf (11 commits)")[![stof](https://avatars.githubusercontent.com/u/439401?v=4)](https://github.com/stof "stof (10 commits)")[![catacgc](https://avatars.githubusercontent.com/u/490592?v=4)](https://github.com/catacgc "catacgc (2 commits)")[![winzou](https://avatars.githubusercontent.com/u/702928?v=4)](https://github.com/winzou "winzou (2 commits)")[![jfsimon](https://avatars.githubusercontent.com/u/119407?v=4)](https://github.com/jfsimon "jfsimon (1 commits)")[![fran6co](https://avatars.githubusercontent.com/u/726088?v=4)](https://github.com/fran6co "fran6co (1 commits)")

---

Tags

console

### Embed Badge

![Health badge](/badges/rapotor-console-bundle/health.svg)

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

###  Alternatives

[easycorp/easyadmin-bundle

Admin generator for Symfony applications

4.3k17.5M378](/packages/easycorp-easyadmin-bundle)[symfony/web-profiler-bundle

Provides a development tool that gives detailed information about the execution of any request

2.3k156.8M1.2k](/packages/symfony-web-profiler-bundle)[sulu/sulu

Core framework that implements the functionality of the Sulu content management system

1.3k1.4M196](/packages/sulu-sulu)[kimai/kimai

Kimai - Time Tracking

4.8k8.7k1](/packages/kimai-kimai)[shopware/core

Shopware platform is the core for all Shopware ecommerce products.

585.4M528](/packages/shopware-core)[open-dxp/opendxp

Content &amp; Product Management Framework (CMS/PIM)

9417.2k58](/packages/open-dxp-opendxp)

PHPackages © 2026

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