ninjify / coding-standard
Tuned & very strict coding standards for PHP projects. Trusted by Contributte, Apitte, Nettrine and many others.
Fund package maintenance!
f3l1x
contributte.org/partners.html
Installs: 473 349
Dependents: 13
Suggesters: 0
Security: 0
Stars: 13
Watchers: 4
Forks: 5
Open Issues: 0
Language:Shell
Requires
- php: >=7.2
- slevomat/coding-standard: ^7.0.18
- squizlabs/php_codesniffer: ^3.5.8
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
Documentation
Usage
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.