PHPackages                             mathrix-education/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. mathrix-education/coding-standard

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

mathrix-education/coding-standard
=================================

The official Mathrix PHP\_CodeSniffer coding standard.

2.0.2(5y ago)23.7k5MITPHP

Since Sep 15Pushed 5y agoCompare

[ Source](https://github.com/mathrix-education/coding-standard)[ Packagist](https://packagist.org/packages/mathrix-education/coding-standard)[ Docs](https://github.com/mathrix-education/coding-standard)[ RSS](/packages/mathrix-education-coding-standard/feed)WikiDiscussions master Synced 1w ago

READMEChangelogDependencies (6)Versions (8)Used By (5)

mathrix-education/coding-standard
=================================

[](#mathrix-educationcoding-standard)

[![version](https://camo.githubusercontent.com/2d56b690e85b2b18abbe2653309ae01c15e408eb007b1d3c85a40552a084a1be/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f6d6174687269782d656475636174696f6e2f636f64696e672d7374616e646172643f7374796c653d666c61742d737175617265)](https://camo.githubusercontent.com/2d56b690e85b2b18abbe2653309ae01c15e408eb007b1d3c85a40552a084a1be/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f6d6174687269782d656475636174696f6e2f636f64696e672d7374616e646172643f7374796c653d666c61742d737175617265)[![license](https://camo.githubusercontent.com/8ab116c50475ef84b63a80e94f9deff42fc727b16376b8ef19e10fa01e7acaf6/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f6c2f6d6174687269782d656475636174696f6e2f636f64696e672d7374616e646172643f7374796c653d666c61742d737175617265)](https://camo.githubusercontent.com/8ab116c50475ef84b63a80e94f9deff42fc727b16376b8ef19e10fa01e7acaf6/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f6c2f6d6174687269782d656475636174696f6e2f636f64696e672d7374616e646172643f7374796c653d666c61742d737175617265)[![php-version](https://camo.githubusercontent.com/fb0db9b3d73682f0870d456c144963ae9163b00f970c92844c3b12280971eac7/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f7068702d762f6d6174687269782d656475636174696f6e2f636f64696e672d7374616e646172643f7374796c653d666c61742d737175617265)](https://camo.githubusercontent.com/fb0db9b3d73682f0870d456c144963ae9163b00f970c92844c3b12280971eac7/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f7068702d762f6d6174687269782d656475636174696f6e2f636f64696e672d7374616e646172643f7374796c653d666c61742d737175617265)

Mathrix Education SA official PHP\_CodeSniffer standard. Uses the sniffs from [PHP\_CodeSniffer](https://github.com/squizlabs/PHP_CodeSniffer) and [Slevomat Coding Standard](https://github.com/slevomat/coding-standard).

Maintained by:

- [Mathieu Bour](https://github.com/mathieu-bour), Vice-CTO [@Mathrix](https://github.com/mathrix-education)
- [Valentin Pollart](https://github.com/valentinpollart), Lead Cloud Engineer [@Mathrix](https://github.com/mathrix-education)

###  Health Score

32

—

LowBetter than 72% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity19

Limited adoption so far

Community14

Small or concentrated contributor base

Maturity63

Established project with proven stability

 Bus Factor1

Top contributor holds 95% 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 ~56 days

Recently: every ~83 days

Total

7

Last Release

2102d ago

Major Versions

0.9.2 → 1.0.02019-12-13

1.0.0 → 2.0.02020-04-07

PHP version history (2 changes)0.9.0PHP ^7.2

2.0.0PHP ^7.4

### Community

Maintainers

![](https://www.gravatar.com/avatar/73c2dfce49dda5261f96316534da32fe654b5318a85049d85b651bdda2aeb167?d=identicon)[Mathieu Bour](/maintainers/Mathieu%20Bour)

---

Top Contributors

[![matbour](https://avatars.githubusercontent.com/u/21281702?v=4)](https://github.com/matbour "matbour (19 commits)")[![dimitri-bret](https://avatars.githubusercontent.com/u/32061320?v=4)](https://github.com/dimitri-bret "dimitri-bret (1 commits)")

---

Tags

codingstandardphpphpcsphpcsstylestandardrulescodingsniffsmathrix

###  Code Quality

TestsPHPUnit

### Embed Badge

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

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

###  Alternatives

[doctrine/coding-standard

The Doctrine Coding Standard is a set of PHPCS rules applied to all Doctrine projects.

31914.1M739](/packages/doctrine-coding-standard)[leroy-merlin-br/coding-standard

The coding standard for PHP projects on LMBR

2137.0k10](/packages/leroy-merlin-br-coding-standard)[drupal/coder

Coder is a library to review Drupal code.

3043.6M461](/packages/drupal-coder)[moodlehq/moodle-cs

Moodle Coding Sniffer rules

242.8M5](/packages/moodlehq-moodle-cs)

PHPackages © 2026

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