ysato/php-skeleton
Composer 安装命令:
composer require ysato/php-skeleton
包简介
Generic php project skeleton package
关键字:
README 文档
README
This library is heavily inspired by the bear/qa-tools, koriym/Koriym.PhpSkeleton
A standard PHP project skeleton
Create Project
To create your project, enter the following command in your console.
composer create-project ysato/php-skeleton <project-path>
You will be asked a few questions to configure the project:
What is the vendor name ?
(MyVendor):Ysato
What is the package name ?
(MyPackage):AwesomePackage
Composer Commands
Once installed, the project will automatically be configured so you can run those commands in the root of your application:
test
composer test run phpunit.
tests
composer tests run phpcs, phpmd, phpstan, psalm and phpunit.
coverage
composer coverage builds test coverage report.
cs-fix
composer cs-fix run phpcbf to fix up the PHP code to follow the coding standards. (Check only command composer cs is also available.)
统计信息
- 总下载量: 53
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 0
- 点击次数: 0
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2020-05-01