phpgames/hal-helper
最新稳定版本:v1.0.1
Composer 安装命令:
composer require phpgames/hal-helper
包简介
HAL 9000 Symfony Console Helper
README 文档
README
Installation
Step 1: Composer
Add the following line to the composer.json file:
{
"require": {
"phpgames/hal-helper": "~1.0"
}
}
Usage
By default, HAL logo will be shown centered on the screen and without text. To customice the output style please change the constructor parameters:
Logo and text align center
$hal = new HAL($output); $hal->sayHello();
Logo and text align left
$hal = new HAL($output, true, false); $hal->sayHello();
Only logo align center
$hal = new HAL($output, false); $hal->sayHello();
Only logo align left
$hal = new HAL($output, false, false); $hal->sayHello();
License
Released under the MIT License attached with this code.
统计信息
- 总下载量: 92
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 5
- 点击次数: 0
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2014-12-08



