igorcarvalho/silex-console-service-provider
最新稳定版本:1.0.0
Composer 安装命令:
composer require igorcarvalho/silex-console-service-provider
包简介
Use the console like all commands into Symfony\Console
README 文档
README
This packaget provides a Symfony\Component\Console to the Silex base at version 2.0.*
Install
Put in the igor822/silex-console-service-provider in your composer.json and register the service:
$app->register(new \Carvinc\Provider\ConsoleServiceProvider(), [ 'console.name' => 'Test', 'console.version' => '0.0.1' ]);
Usage
Use the console like all commands into Symfony\Console:
$ ./console command
Add Command
All your Command Classes should extend Carvinc\Command\Command to have access of Silex\Application by following method
getSilexApplication, which returns the Application
统计信息
- 总下载量: 51
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 0
- 点击次数: 2
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2014-10-31