2017 © Pedro Peláez
 

library silex-console

console service provider for Silex 2

image

quazardous/silex-console

console service provider for Silex 2

  • Friday, November 4, 2016
  • by quazardous
  • Repository
  • 1 Watchers
  • 2 Stars
  • 4,736 Installations
  • PHP
  • 3 Dependents
  • 1 Suggesters
  • 1 Forks
  • 1 Open issues
  • 1 Versions
  • 16 % Grown

The README.md

Quazardous Silex Console Provider

Yet another one but for Silex 2 !, (*1)

Intstallation

Add quazardous/silex-console to your composer.json and register the service., (*2)

$app->register(new Quazardous\Silex\Provider\ConsoleServiceProvider);

You can customize the provider with parameters : - console.name - console.version - console.class, (*3)

See tests/console.php for a full working minimum example., (*4)

Silex integration

The run() function triggers Silex\Application::boot() and Silex\Application::terminate();, (*5)

Knp compatibility

https://github.com/KnpLabs/ConsoleServiceProvider, (*6)

The provider dispatch a 'console.init' event like the Knp Console Provider. You can use it to register the commands., (*7)

The Versions

04/11 2016

dev-master

9999999-dev

console service provider for Silex 2

  Sources   Download

MIT

The Requires

 

by Avatar quazardous

console silex