2017 © Pedro Peláez
 

library silex-console-service-provider

Use the console like all commands into Symfony\Console

image

igorcarvalho/silex-console-service-provider

Use the console like all commands into Symfony\Console

  • Friday, October 31, 2014
  • by igorcarvalho
  • Repository
  • 1 Watchers
  • 0 Stars
  • 42 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 0 Forks
  • 0 Open issues
  • 2 Versions
  • 0 % Grown

The README.md

Silex Console Service Provider

This packaget provides a Symfony\Component\Console to the Silex base at version 2.0.*, (*1)

Install

Put in the igor822/silex-console-service-provider in your composer.json and register the service:, (*2)

$app->register(new \Carvinc\Provider\ConsoleServiceProvider(), [
    'console.name' => 'Test',
    'console.version' => '0.0.1'
]);

Usage

Use the console like all commands into Symfony\Console:, (*3)

$ ./console command

Add Command

All your Command Classes should extend Carvinc\Command\Command to have access of Silex\Application by following method, (*4)

  • getSilexApplication, which returns the Application

The Versions

31/10 2014

dev-master

9999999-dev

Use the console like all commands into Symfony\Console

  Sources   Download

MIT

The Requires

 

31/10 2014

1.0.0

1.0.0.0

Use the console like all commands into Symfony\Console

  Sources   Download

MIT

The Requires