tedblanc/php-cli-demo
最新稳定版本:v1.0
Composer 安装命令:
composer require tedblanc/php-cli-demo
包简介
PHP command-line tool demo
README 文档
README
PHP command-line tool demonstration
Install
This CLI application is a small game written in PHP and is installed using Composer:
composer global require tedblanc/php-cli-demo
Make sure the ~/.composer/vendor/bin directory is in your system's PATH.
Show me how
If it's not already there, add the following line to your Bash configuration file (usually ~/.bash_profile, ~/.bashrc, ~/.zshrc, etc.):
export PATH=~/.config/composer/vendor/bin:$PATH
If the file doesn't exist, create it.
Run the following command on the file you've just updated for the change to take effect:
source ~/.bash_rc
Use
All you need to do is call the play command to start the game:
demo play
Update
composer global update tedblanc/php-cli-demo
Delete
composer global remove tedblanc/php-cli-demo
统计信息
- 总下载量: 4
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 0
- 点击次数: 0
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2025-03-06
