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(13y 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 2mo 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 64% 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

5091d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/f38d2641929fd8a2a0cf626e29f109025b4ecb19c1a57de7fa2283d270ef8ed7?d=identicon)[rapotor](/maintainers/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

[psy/psysh

An interactive shell for modern PHP.

9.8k545.6M719](/packages/psy-psysh)[nunomaduro/collision

Cli error handling for console/command-line PHP applications.

4.6k331.8M8.5k](/packages/nunomaduro-collision)[nunomaduro/termwind

It's like Tailwind CSS, but for the console.

2.5k239.8M286](/packages/nunomaduro-termwind)[matthiasnoback/symfony-console-form

Use Symfony forms for Console command input

368264.8k8](/packages/matthiasnoback-symfony-console-form)[laminas/laminas-cli

Command-line interface for Laminas projects

563.7M54](/packages/laminas-laminas-cli)[coresphere/console-bundle

This bundle allows you accessing the symfony2 console via your browser

146337.3k5](/packages/coresphere-console-bundle)

PHPackages © 2026

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