PHPackages                             ninjify/coding-standard - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [Validation &amp; Sanitization](/categories/validation)
4. /
5. ninjify/coding-standard

ActivePhpcodesniffer-standard[Validation &amp; Sanitization](/categories/validation)

ninjify/coding-standard
=======================

Tuned &amp; very strict coding standards for PHP projects. Trusted by Contributte, Apitte, Nettrine and many others.

v0.12.1(4y ago)14500.5k—9.5%613MITPHP &gt;=7.2

Since Nov 4Pushed 3mo ago3 watchersCompare

[ Source](https://github.com/ninjify/coding-standard)[ Packagist](https://packagist.org/packages/ninjify/coding-standard)[ Docs](https://github.com/ninjify/coding-standard)[ Fund](https://contributte.org/partners.html)[ GitHub Sponsors](https://github.com/f3l1x)[ RSS](/packages/ninjify-coding-standard/feed)WikiDiscussions master Synced yesterday

READMEChangelog (10)Dependencies (2)Versions (20)Used By (13)

[![](https://camo.githubusercontent.com/c83762e8b310964a50265ec0bf92684fe8ae194a13fedfd656f28398ebef8957/68747470733a2f2f686561746261646765722e6e6f772e73682f6769746875622f726561646d652f6e696e6a6966792f636f64696e672d7374616e646172642f)](https://camo.githubusercontent.com/c83762e8b310964a50265ec0bf92684fe8ae194a13fedfd656f28398ebef8957/68747470733a2f2f686561746261646765722e6e6f772e73682f6769746875622f726561646d652f6e696e6a6966792f636f64696e672d7374616e646172642f)

 [![](https://camo.githubusercontent.com/86088272131205864abdb3c9803f24740a16b29b955e9ac8abf787b99a69d284/68747470733a2f2f62616467656e2e6e65742f7061636b61676973742f646d2f6e696e6a6966792f636f64696e672d7374616e64617264)](https://packagist.org/packages/ninjify/coding-standard) [![](https://camo.githubusercontent.com/c4e06070d2ae339233afcd4b53d01c64a949ccac01bb3844a86938cf4216b31c/68747470733a2f2f62616467656e2e6e65742f7061636b61676973742f762f6e696e6a6966792f636f64696e672d7374616e64617264)](https://packagist.org/packages/ninjify/coding-standard)

 [![](https://camo.githubusercontent.com/1f568e453efaa14745cbcae158b63d7079f12f497c0cd75fc67649ce559e14bb/68747470733a2f2f62616467656e2e6e65742f7061636b61676973742f7068702f6e696e6a6966792f636f64696e672d7374616e64617264)](https://packagist.org/packages/ninjify/coding-standard) [![](https://camo.githubusercontent.com/288fb28ee278ef8f119f86264cd993750adf9112f897d4c6bbb0802645127eaa/68747470733a2f2f62616467656e2e6e65742f6769746875622f6c6963656e73652f6e696e6a6966792f636f64696e672d7374616e64617264)](https://github.com/ninjify/coding-standard) [![](https://camo.githubusercontent.com/a8b1cd856d7d396fdebbe46947cc3507490acc267a02361e5e53bb7b820c95c3/68747470733a2f2f62616467656e2e6e65742f62616467652f737570706f72742f6769747465722f6379616e)](https://bit.ly/ctteg) [![](https://camo.githubusercontent.com/86d6416fc04f8bcc3daa7bf881526b9953b9726b1164d05c157c8713e3a73418/68747470733a2f2f62616467656e2e6e65742f62616467652f737570706f72742f666f72756d2f79656c6c6f77)](https://bit.ly/cttfo) [![](https://camo.githubusercontent.com/5d170ab94e6d594609561e16fe0f9e4293968fbd4dfcfafc5e11efc1415ef09c/68747470733a2f2f62616467656e2e6e65742f62616467652f73706f6e736f722f646f6e6174696f6e732f463936383534)](https://contributte.org/partners.html)

Website 🚀 [contributte.org](https://contributte.org) | Contact 👨🏻‍💻 [f3l1x.io](https://f3l1x.io) | Twitter 🐦 [@contributte](https://twitter.com/contributte)

Usage
-----

[](#usage)

To install latest version of `ninjify/coding-standard` use [Composer](https://getcomposer.com).

```
composer require --dev ninjify/coding-standard

```

Versions
--------

[](#versions)

StateVersionBranchPHPdev`^0.13``master``>=7.2`stable`^0.12``master``>=7.2`Documentation
-------------

[](#documentation)

### Usage

[](#usage-1)

FileUsagerulesetglobalcontributteContributte, Apitte, NettrineCreate `ruleset.xml` in root of your project.

```

    /tests/tmp

```

### Integration

[](#integration)

Take a look at `phpstorm` folder, there should be prepared codestyle.

Development
-----------

[](#development)

See [how to contribute](https://contributte.org) to this package. This package is currently maintained by these authors.

[ ![](https://avatars2.githubusercontent.com/u/538058?v=3&s=80)](https://github.com/f3l1x)---

Consider to [support](https://contributte.org/partners.html) **contributte** development team. Also thank you for using this package.

###  Health Score

48

—

FairBetter than 93% of packages

Maintenance54

Moderate activity, may be stable

Popularity44

Moderate usage in the ecosystem

Community28

Small or concentrated contributor base

Maturity57

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 57.4% of commits — single point of failure

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

###  Release Activity

Cadence

Every ~107 days

Total

19

Last Release

1602d ago

PHP version history (3 changes)0.1PHP &gt;=5.6

0.3.0PHP &gt;=7.1

v0.11.1PHP &gt;=7.2

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/538058?v=4)[Milan Šulc](/maintainers/f3l1x)[@f3l1x](https://github.com/f3l1x)

---

Top Contributors

[![f3l1x](https://avatars.githubusercontent.com/u/538058?v=4)](https://github.com/f3l1x "f3l1x (39 commits)")[![mabar](https://avatars.githubusercontent.com/u/20974277?v=4)](https://github.com/mabar "mabar (13 commits)")[![josefbenjac](https://avatars.githubusercontent.com/u/6731626?v=4)](https://github.com/josefbenjac "josefbenjac (7 commits)")[![vody105](https://avatars.githubusercontent.com/u/22433893?v=4)](https://github.com/vody105 "vody105 (5 commits)")[![paveljanda](https://avatars.githubusercontent.com/u/1488874?v=4)](https://github.com/paveljanda "paveljanda (1 commits)")[![petrparolek](https://avatars.githubusercontent.com/u/6066243?v=4)](https://github.com/petrparolek "petrparolek (1 commits)")[![rodrigoprimo](https://avatars.githubusercontent.com/u/77215?v=4)](https://github.com/rodrigoprimo "rodrigoprimo (1 commits)")[![MartkCz](https://avatars.githubusercontent.com/u/10145362?v=4)](https://github.com/MartkCz "MartkCz (1 commits)")

---

Tags

codesniffercoding-standardsninjifyphpstrictnessphpcodesnifferCodestyleninjify

### Embed Badge

![Health badge](/badges/ninjify-coding-standard/health.svg)

```
[![Health](https://phpackages.com/badges/ninjify-coding-standard/health.svg)](https://phpackages.com/packages/ninjify-coding-standard)
```

###  Alternatives

[nunomaduro/phpinsights

Instant PHP quality checks from your console.

5.6k11.7M489](/packages/nunomaduro-phpinsights)[drupal/coder

Coder is a library to review Drupal code.

3045.9M577](/packages/drupal-coder)[spryker/code-sniffer

Spryker Code Sniffer Standards

384.3M2.8k](/packages/spryker-code-sniffer)[leroy-merlin-br/coding-standard

The coding standard for PHP projects on LMBR

2138.8k20](/packages/leroy-merlin-br-coding-standard)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
