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

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

orisai/coding-standard
======================

Strict PHP coding standard

3.11.0(1y ago)19193.5k↑14.7%1[1 PRs](https://github.com/orisai/coding-standard-php/pulls)20MPL-2.0PHP 7.4 - 8.4CI passing

Since Nov 10Pushed 11mo ago2 watchersCompare

[ Source](https://github.com/orisai/coding-standard-php)[ Packagist](https://packagist.org/packages/orisai/coding-standard)[ Docs](https://github.com/orisai/coding-standard-php)[ RSS](/packages/orisai-coding-standard/feed)WikiDiscussions v3.x Synced 1mo ago

READMEChangelogDependencies (3)Versions (43)Used By (20)

 [![Orisai](https://github.com/orisai/.github/raw/main/images/repo_title.png?raw=true)](https://github.com/orisai/.github/blob/main/images/repo_title.png?raw=true)
 Coding Standard - PHP
============================================================================================================================================================================================

[](#coding-standard---php)

 PHP coding standard built on top of [PHP\_CodeSniffer](https://github.com/squizlabs/PHP_CodeSniffer) and [Slevomat Coding Standard](https://github.com/slevomat/coding-standard) rules.

 📄 Check out our [documentation](docs/README.md).

 💸 If you like Orisai, please [make a donation](https://orisai.dev/sponsor). Thank you!

 [![](https://camo.githubusercontent.com/1092faf27d08651b07af6edd1c41ece4b0fed6e492c5d45456b8bf0eb439ac43/68747470733a2f2f62616467656e2e6e65742f7061636b61676973742f64742f6f72697361692f636f64696e672d7374616e646172643f63616368653d33363030)](https://packagist.org/packages/orisai/coding-standard) [![](https://camo.githubusercontent.com/5f0e2965ccdb15e4d9043b962bf8cadb5df9f9c47dbc2d1d0dde2011c890ce89/68747470733a2f2f62616467656e2e6e65742f7061636b61676973742f762f6f72697361692f636f64696e672d7374616e646172643f63616368653d33363030)](https://packagist.org/packages/orisai/coding-standard) [![](https://camo.githubusercontent.com/40b2374865c7727b1568a7b77cc1a8068979ac265d85d659fe73b2d337b458e6/68747470733a2f2f62616467656e2e6e65742f62616467652f6c6963656e73652f4d504c2d322e302f626c75653f63616368653d33363030)](https://choosealicense.com/licenses/mpl-2.0/)

```
final class FormattedCode
{

	public function isSexy(): void
	{
		// It's hard to find great example. Just test it on your code.
		// May be annoying at first, but easier to read in the long term.
	}

}
```

###  Health Score

54

—

FairBetter than 97% of packages

Maintenance50

Moderate activity, may be stable

Popularity41

Moderate usage in the ecosystem

Community26

Small or concentrated contributor base

Maturity83

Battle-tested with a long release history

 Bus Factor1

Top contributor holds 99.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 ~40 days

Recently: every ~121 days

Total

43

Last Release

332d ago

Major Versions

1.2.0 → 2.0.02021-05-08

2.4.1 → 3.0.02022-06-17

PHP version history (6 changes)1.0.0PHP &gt;=7.1.0 &lt;8.2.0

3.0.0PHP &gt;=7.2.0 &lt;8.2.0

3.3.3PHP &gt;=7.2.0 &lt;8.3.0

3.10.0PHP 7.2 - 8.3

3.10.2PHP 7.2 - 8.4

3.11.0PHP 7.4 - 8.4

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/20974277?v=4)[Marek Bartoš](/maintainers/mabar)[@mabar](https://github.com/mabar)

---

Top Contributors

[![mabar](https://avatars.githubusercontent.com/u/20974277?v=4)](https://github.com/mabar "mabar (179 commits)")[![slischka](https://avatars.githubusercontent.com/u/19595920?v=4)](https://github.com/slischka "slischka (1 commits)")

---

Tags

analyticscodesniffercoding-standardsorisaiphpphp-codesnifferqualitystatic-analysisstandardsphpcsdevstatic analysisCoding Standardorisai

### Embed Badge

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

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

###  Alternatives

[mayflower/mo4-coding-standard

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

17508.3k5](/packages/mayflower-mo4-coding-standard)[automattic/vipwpcs

PHP\_CodeSniffer rules (sniffs) to enforce WordPress VIP minimum coding conventions

25510.2M145](/packages/automattic-vipwpcs)[yoast/yoastcs

PHP\_CodeSniffer rules for Yoast projects

221.1M29](/packages/yoast-yoastcs)[drupal/coder

Coder is a library to review Drupal code.

3043.6M461](/packages/drupal-coder)[suin/phpcs-psr4-sniff

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

271.7M16](/packages/suin-phpcs-psr4-sniff)[infinum/eightshift-coding-standards

Eightshift WordPress Coding Standards

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

PHPackages © 2026

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