ninjify/coding-standard
最新稳定版本:v0.12.1
Composer 安装命令:
composer require ninjify/coding-standard
包简介
Tuned & very strict coding standards for PHP projects. Trusted by Contributte, Apitte, Nettrine and many others.
README 文档
README
Website 🚀 contributte.org | Contact 👨🏻💻 f3l1x.io | Twitter 🐦 @contributte
Usage
To install latest version of ninjify/coding-standard use Composer.
composer require --dev ninjify/coding-standard
Versions
| State | Version | Branch | PHP |
|---|---|---|---|
| dev | ^0.13 |
master |
>=7.2 |
| stable | ^0.12 |
master |
>=7.2 |
Documentation
Usage
| File | Usage |
|---|---|
| ruleset | global |
| contributte | Contributte, Apitte, Nettrine |
Create ruleset.xml in root of your project.
<?xml version="1.0"?>
<ruleset name="Acme">
<!-- Ninjify Coding Standard -->
<rule ref="./vendor/ninjify/coding-standard/ruleset.xml"/>
<!-- OR -->
<!-- Contributte Coding Standard -->
<rule ref="./vendor/ninjify/coding-standard/contributte.xml"/>
<!--Exclude folders -->
<exclude-pattern>/tests/tmp</exclude-pattern>
</ruleset>
Integration
Take a look at phpstorm folder, there should be prepared codestyle.
Development
See how to contribute to this package. This package is currently maintained by these authors.
Consider to support contributte development team. Also thank you for using this package.
统计信息
- 总下载量: 494.52k
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 14
- 点击次数: 1
- 依赖项目数: 12
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2016-10-26