This bundle allows you accessing the Symfony2 console via your browser.
cache:clear
worksMake 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
.clear
to clear the console windowTested with: