Home

Awesome

Console Service Provider

To see the complete documentation, check out Console

Install

composer require sergiors/console-service-provider

How to use

use Silex\Application;
use Sergiors\Silex\Provider\ConsoleServiceProvider;

$app = new Application();
$app->register(new ConsoleServiceProvider(), [
    'console.name' => '{Your Application Name}',
    'console.version' => '1.0.0-dev'
]);
$app->boot();
$app['console']->run();