nicolasdewez/application-console
最新稳定版本:1.2.0
Composer 安装命令:
composer require nicolasdewez/application-console
包简介
This library provides use console application
README 文档
README
The ApplicationConsoleBundle provides use console application with container in application and commands.
Installation
Open a command console, enter your project directory and execute the following command to download the latest stable version of this bundle:
$ composer require nicolasdewez/application-console
This command requires you to have Composer installed globally, as explained
in the installation chapter_ of the Composer documentation.
Using
Create an application file console.
use App\Command\MyCommand; use Ndewez\ApplicationConsoleBundle\Application\Application; $application = new Application(__DIR__.'/config/services.xml'); $application->addContainerCommand(new MyCommand()); $application->run();
统计信息
- 总下载量: 24
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 0
- 点击次数: 0
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2015-06-02