PHPackages                             mysiar/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. [PSR &amp; Standards](/categories/psr-standards)
4. /
5. mysiar/coding-standard

ActivePhpcodesniffer-standard[PSR &amp; Standards](/categories/psr-standards)

mysiar/coding-standard
======================

Coding standard based on PSR2 &amp; Slevomat rules

2.0.2(6y ago)18253MITPHP ^7.2

Since Sep 9Pushed 5y agoCompare

[ Source](https://github.com/mysiar/coding-standard)[ Packagist](https://packagist.org/packages/mysiar/coding-standard)[ RSS](/packages/mysiar-coding-standard/feed)WikiDiscussions master Synced 3d ago

READMEChangelogDependencies (1)Versions (4)Used By (3)

Mysiar\\CodingStandard
======================

[](#mysiarcodingstandard)

[![Latest Stable Version](https://camo.githubusercontent.com/17682bc8f6fbbdcbb6ce75366d19696149032ae421c9a3ac2e9e2c984c9fd274/68747470733a2f2f706f7365722e707567782e6f72672f6d79736961722f636f64696e672d7374616e646172642f76)](https://packagist.org/packages/mysiar/coding-standard) [![Total Downloads](https://camo.githubusercontent.com/7f0b59842f72365d279d7e26ea44673d773e34f9591cc1360a15a5c4f711dc05/68747470733a2f2f706f7365722e707567782e6f72672f6d79736961722f636f64696e672d7374616e646172642f646f776e6c6f616473)](https://packagist.org/packages/mysiar/coding-standard) [![Latest Unstable Version](https://camo.githubusercontent.com/014397ea5522653b4056c1858dada2b8f27040834ea187d8c6c1762954271c0c/68747470733a2f2f706f7365722e707567782e6f72672f6d79736961722f636f64696e672d7374616e646172642f762f756e737461626c65)](https://packagist.org/packages/mysiar/coding-standard) [![License](https://camo.githubusercontent.com/2b771d507fad7045ebca6e6f694e0f5fbfc35e89e9f28e1d74db4f21563e4201/68747470733a2f2f706f7365722e707567782e6f72672f6d79736961722f636f64696e672d7374616e646172642f6c6963656e7365)](https://packagist.org/packages/mysiar/coding-standard)

coding standard based on PSR2 &amp; [slevomat/coding-standard](https://github.com/slevomat/coding-standard)

Install
-------

[](#install)

- `composer require --dev mysiar/coding-standard`
- `cp vendor/mysiar/coding-standard/ruleset.xml .`

Execute
-------

[](#execute)

- `phpcs --standard=./ruleset.xml --extensions=php`

Versions
--------

[](#versions)

- `1.x.x` uses slevomat/coding-standard ver 5
- `2.x.x` uses slevomat/coding-standard ver 6

###  Health Score

28

—

LowBetter than 54% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity15

Limited adoption so far

Community10

Small or concentrated contributor base

Maturity55

Maturing project, gaining track record

 Bus Factor1

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

Total

3

Last Release

2250d ago

Major Versions

1.1.0 → 2.0.12020-03-16

### Community

Maintainers

![](https://www.gravatar.com/avatar/0e107304915ccb32da1e7cdda1a3042e513201a7bd53fcafd56ff662500c6c12?d=identicon)[mysiar](/maintainers/mysiar)

---

Top Contributors

[![mysiar](https://avatars.githubusercontent.com/u/13708162?v=4)](https://github.com/mysiar "mysiar (13 commits)")

### Embed Badge

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

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

###  Alternatives

[sylius-labs/coding-standard

Battle-tested coding standard configuration used in Sylius.

896.1M488](/packages/sylius-labs-coding-standard)[yoast/yoastcs

PHP\_CodeSniffer rules for Yoast projects

221.1M29](/packages/yoast-yoastcs)[suin/phpcs-psr4-sniff

PHP\_CodeSniffer sniff that checks class name matches PSR-4 project structure.

271.7M16](/packages/suin-phpcs-psr4-sniff)[mayflower/mo4-coding-standard

PHP CodeSniffer ruleset implementing the MO4 coding standards extending the Symfony coding standards.

17508.3k5](/packages/mayflower-mo4-coding-standard)[infinum/eightshift-coding-standards

Eightshift WordPress Coding Standards

1785.2k3](/packages/infinum-eightshift-coding-standards)[orisai/coding-standard

Strict PHP coding standard

19193.5k62](/packages/orisai-coding-standard)

PHPackages © 2026

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