chiron/app-cli
Composer 安装命令:
composer create-project chiron/app-cli
包简介
Chiron Skeleton Console Application
README 文档
README
If you do not have Composer, you may install it by following the instructions at getcomposer.org.
You can then install this project template using the following command:
$ composer create-project chiron/app-cli [my-app-name]
Replace [my-app-name] with the desired directory name for your new application.
Cloning
This section applies only if you cloned this repo with
git clone, not when installed withcomposer create-project ....
Make sure to properly install composer dependencies if you cloned the existing repository.
$ composer install # Install the projet composer dependencies
Command Line
To start application console execute:
$ php app.php quote
This will generate a random quote from Terry Pratchett books. Read more about the quotes here.
Testing
To test an application:
$ ./vendor/bin/phpunit
or
$ composer phpunit
License
This package is open-sourced software licensed under the MIT license.
统计信息
- 总下载量: 10
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 1
- 点击次数: 1
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2021-01-05