Skip to content

Repository files navigation

ConsoleBundle

Build StatusQuality ScoreCode Coverage

This bundle allows you accessing the Symfony2 console via your browser.

Features

  • Colored output
  • Autocompletion for command names
  • Local command history (localStorage)
  • cache:clear works

Installation

  1. Make sure you have php 5.5 or newer installed. Make sure your composer file does not override the required php version of your project with in older one via the config.plattform.php setting.

  2. Install the latest version via composer:

    composer require coresphere/console-bundle
  3. Register the bundle in you AppKernel in the development section

    // app/AppKernel.phppublicfunctionregisterBundles()
    {
    $bundles = [
    // other bundles here...
    ];
    if (in_array($this->getEnvironment(), ['dev', 'test'])) {
    // ...$bundles[] = newCoreSphere\ConsoleBundle\CoreSphereConsoleBundle();
    }
    return$bundles;
    }
  4. Add the bundle's route to your app/config/routing_dev.yml

    # app/config/routing_dev.yml# ..._main:
    resource: routing.ymlcoresphere_console:
    resource: .type: extra
  5. run the assets:install command to install the css and js files

    ./app/console assets:install web

Tips

  • Type .clear to clear the console window

Preview

Screenshot

Dependencies

  • jQuery
  • Twig

Compatibility

Tested with:

  • Chrome
  • Firefox 4
  • Opera 11
  • Safari 5

About

Commandline interface in browser for Symfony2

Topics

Resources

Stars

140 stars

Watchers

15 watching

Forks

Releases

Packages

Used by

Contributors

Languages