lkt/commander
最新稳定版本:2.0.1
Composer 安装命令:
composer require lkt/commander
包简介
LKT Commander
README 文档
README
This lib was designed for apps with multiple packages in a way to register Symfony console commands in an easy way.
Usage
Command registration
$command = new YourSymfonyCommand(); \Lkt\Commander\Commander::register($command);
Usage
In your cli.php:
\Lkt\Commander\Commander::run();
Alternatively, if not all console commands uses LKT Commander, you can get the Symfony application this way:
$application = \Lkt\Commander\Commander::getApplication(); // Your stuff... $application->run();
统计信息
- 总下载量: 200
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 0
- 点击次数: 0
- 依赖项目数: 3
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2022-11-03