elgentos/laravel-coding-standard
Composer 安装命令:
composer require elgentos/laravel-coding-standard
包简介
Elgentos PHP Coding Standard for Laravel
README 文档
README
The Elgentos Laravel Coding Standards packages adds coding standards for your Laravel proect. It is based on the generic MediaCT coding standards, but with framework specific changes made for Laravel.
Installation
To install this package, run the following Composer command in your project.
composer require --dev elgentos/laravel-coding-standard
Usage
To let PHPCS in your project know that these coding standards should be used,
make sure you add the following lines to your project's phpcs.xml file:
<?xml version="1.0"?> <ruleset> <rule ref="./vendor/elgentos/laravel-coding-standard/src/ElgentosLaravel"/> </ruleset>
Contributing
Pull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.
Please make sure to update tests as appropriate.
License
统计信息
- 总下载量: 177
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 2
- 点击次数: 0
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2021-03-17