sergiors/console-service-provider

2.1.0 2016-08-03 13:01 UTC

This package is not auto-updated.

Last update: 2024-12-18 23:56:00 UTC


README

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();