定制 quazardous/silex-console 二次开发

按需修改功能、优化性能、对接业务系统,提供一站式技术支持

邮箱:yvsm@zunyunkeji.com | QQ:316430983 | 微信:yvsm316

quazardous/silex-console

Composer 安装命令:

composer require quazardous/silex-console

包简介

console service provider for Silex 2

README 文档

README

Yet another one but for Silex 2 !

Intstallation

Add quazardous/silex-console to your composer.json and register the service.

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

You can customize the provider with parameters :

  • console.name
  • console.version
  • console.class

See tests/console.php for a full working minimum example.

Silex integration

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

Knp compatibility

https://github.com/KnpLabs/ConsoleServiceProvider

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

统计信息

  • 总下载量: 27.35k
  • 月度下载量: 0
  • 日度下载量: 0
  • 收藏数: 2
  • 点击次数: 0
  • 依赖项目数: 3
  • 推荐数: 1

GitHub 信息

  • Stars: 2
  • Watchers: 1
  • Forks: 1
  • 开发语言: PHP

其他信息

  • 授权协议: MIT
  • 更新时间: 2015-12-08