coresphere / console-bundle
This bundle allows you accessing the symfony2 console via your browser
Installs: 325 382
Dependents: 6
Suggesters: 1
Security: 0
Stars: 140
Watchers: 16
Forks: 54
Open Issues: 18
Type:symfony-bundle
Requires
- php: ^5.5|^7.0
- symfony/console: ~2.7|~3.0
- symfony/dependency-injection: ~2.7|~3.0
- symfony/event-dispatcher: ~2.7|~3.0
- symfony/framework-bundle: ~2.7|~3.0
- symfony/http-kernel: ~2.7|~3.0
Requires (Dev)
- doctrine/doctrine-fixtures-bundle: ^2.2
- doctrine/doctrine-migrations-bundle: ^1.0
- phpunit/phpunit: ^4.8
- symfony/finder: ^2.7
- symfony/templating: ^3.2
This package is not auto-updated.
Last update: 2024-12-21 12:35:12 UTC
README
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
-
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. -
Install the latest version via composer:
composer require coresphere/console-bundle
-
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; }
-
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
-
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
Dependencies
- jQuery
- Twig
Compatibility
Tested with:
- Chrome
- Firefox 4
- Opera 11
- Safari 5