cherry-project/console
Composer 安装命令:
composer require cherry-project/console
包简介
CLI Console for Cherry-project
README 文档
README
CLI Console for Cherry-project.
Including
Install from composer composer require cherry-project/console
Next you must create executable PHP script (Ex.: console).
Note Add this line at top of your console for executing
it in PHP interpreter: #!/usr/bin/env php
Include Autoloader in console
require_once __DIR__ . '/vendor/autoload.php';
Usage
Import classes
use Cherry\Console\Console; use Cherry\Kernel;
Create new Kernel and Console instance
$app = new Kernel(__DIR__); $console = new Console();
Now you can get console help message:
php console --help
or
./console --help
2019 © Cherry-project
统计信息
- 总下载量: 36
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 1
- 点击次数: 0
- 依赖项目数: 1
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2019-03-31