Coder Social home page Coder Social logo

greghubs / consolebundle Goto Github PK

View Code? Open in Web Editor NEW

This project forked from coresphere/consolebundle

0.0 1.0 0.0 244 KB

Commandline interface in browser for Symfony4

License: BSD 3-Clause "New" or "Revised" License

PHP 53.09% CSS 5.36% JavaScript 32.22% HTML 9.33%

consolebundle's Introduction

ConsoleBundle

Build Status Quality Score Code 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.php
    public function registerBundles()
    {
       $bundles = [
     		// other bundles here...
       ];
    
       if (in_array($this->getEnvironment(), ['dev', 'test'])) {
       	// ...
       	$bundles[] = new CoreSphere\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.yml
    
    coresphere_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

consolebundle's People

Contributors

laszlokorte avatar tomasvotruba avatar vicb avatar greghubs avatar jokey2k avatar mickaelcollet avatar core23 avatar yalg avatar shurastik avatar matzz avatar takeno avatar oviglo avatar n1c01a5 avatar warxcell avatar

Watchers

James Cloos avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.