GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — GitHub - winzou/ConsoleBundle: Commandline interface in browser for Symfony2

BranchesTags
Open more actions menu
 
 

Latest commit

 

History

105 Commits
105 Commits

Folders and files

NameName
Last commit message
Last commit date
Controller
Controller
 
 
DataCollector
DataCollector
 
 
DependencyInjection
DependencyInjection
 
 
Formatter
Formatter
 
 
Output
Output
 
 
Resources
Resources
 
 
Tests
Tests
 
 
.gitignore
.gitignore
 
 
.travis.yml
.travis.yml
 
 
AUTHORS
AUTHORS
 
 
CoreSphereConsoleBundle.php
CoreSphereConsoleBundle.php
 
 
LICENSE
LICENSE
 
 
composer.json
composer.json
 
 
phpunit.xml.dist
phpunit.xml.dist
 
 
readme.md
readme.md
 
 

Repository files navigation

ConsoleBundle

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. Add coresphere/console-bundle to your composer.json file and run composer.phar update

    // composer.json
    "require": {
        ...
        "winzou/console-bundle": "1.*",
        ...
    }
    
  2. Add the following route to your routing configuration

    #app/config/routing_dev.yml
    console:
        resource: "@CoreSphereConsoleBundle/Resources/config/routing.yml"
    
  3. Register the bundle in you AppKernel in the development section

    // app/ApplicationKernel.php
    public function registerBundles()
    {
        $bundles = array(
            // other bundles here...
        );
    
        if (in_array($this->getEnvironment(), array('dev', 'test'))) {
            // ...
            $bundles[] = new CoreSphere\ConsoleBundle\CoreSphereConsoleBundle();
        }
    
        return $bundles;
    }
    
  4. 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

Todo

  • Write Javascript tests
  • Add console as "pop up" to web developer toolbar
  • Figure out how to allow interactive mode (possible? extreme hacky?)

About

Commandline interface in browser for Symfony2

Resources

Readme
BSD-3-Clause license
Activity

Stars

37 stars

Watchers

5 watching

Forks

7 forks
Report repository

Releases

Packages

Used by

Contributors

Languages

You are visitor 01402775 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.