PHPackages                             doctrine/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. [Database &amp; ORM](/categories/database)
4. /
5. doctrine/coding-standard

ActivePhpcodesniffer-standard[Database &amp; ORM](/categories/database)

doctrine/coding-standard
========================

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

14.0.0(7mo ago)31914.1M↓12.8%49[5 issues](https://github.com/doctrine/coding-standard/issues)[7 PRs](https://github.com/doctrine/coding-standard/pulls)20MITPHPPHP ^7.4 || ^8.0CI passing

Since Jul 16Pushed 1mo ago21 watchersCompare

[ Source](https://github.com/doctrine/coding-standard)[ Packagist](https://packagist.org/packages/doctrine/coding-standard)[ Docs](https://www.doctrine-project.org/projects/coding-standard.html)[ RSS](/packages/doctrine-coding-standard/feed)WikiDiscussions 14.0.x Synced 1mo ago

READMEChangelog (10)Dependencies (3)Versions (47)Used By (20)

Doctrine Coding Standard
========================

[](#doctrine-coding-standard)

[![Build Status](https://github.com/doctrine/coding-standard/workflows/Continuous%20Integration/badge.svg)](https://github.com/doctrine/coding-standard/actions?query=workflow%3A%22Continuous+Integration%22+)[![Continuous Integration](https://github.com/doctrine/coding-standard/workflows/Continuous%20Integration/badge.svg?branch=8.2.x)](https://github.com/doctrine/coding-standard/actions)[![Total Downloads](https://camo.githubusercontent.com/2c7b78f4c262c75dd1697e5564ed9039696aff9bbb8bee45da96232c937e0811/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f646f637472696e652f636f64696e672d7374616e646172642e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/doctrine/coding-standard)[![Latest Stable Version](https://camo.githubusercontent.com/94761eb3fa0169c0d3626c45ced06ec39b46ed749598235142a0bc328ad9927e/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f646f637472696e652f636f64696e672d7374616e646172642e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/doctrine/coding-standard)

The Doctrine Coding Standard is a set of [PHP\_CodeSniffer](https://github.com/squizlabs/PHP_CodeSniffer) rules applied to all Doctrine projects. Doctrine Coding Standard is heavily based on [Slevomat Coding Standard](https://github.com/slevomat/coding-standard).

More resources:
---------------

[](#more-resources)

- [Website](https://www.doctrine-project.org/)
- [Documentation](https://www.doctrine-project.org/projects/coding-standard.html)
- [Downloads](https://github.com/doctrine/coding-standard/coding-standard)

###  Health Score

72

—

ExcellentBetter than 100% of packages

Maintenance77

Regular maintenance activity

Popularity67

Solid adoption and visibility

Community54

Growing community involvement

Maturity81

Battle-tested with a long release history

 Bus Factor4

4 contributors hold 50%+ of commits

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 ~86 days

Recently: every ~54 days

Total

45

Last Release

154d ago

Major Versions

10.1.x-dev → 11.0.02022-12-11

11.1.x-dev → 12.0.02023-04-24

12.0.x-dev → 13.0.02025-03-23

13.0.x-dev → 14.0.02025-09-21

14.0.0 → 15.0.x-dev2025-10-03

PHP version history (6 changes)0.1.0PHP &gt;=5.3

1.0.0PHP ^7.1

7.0.0PHP ^7.2

8.0.x-devPHP ^7.2 || ^8.0

8.1.x-devPHP ^7.1 || ^8.0

13.0.0PHP ^7.4 || ^8.0

### Community

Maintainers

![](https://www.gravatar.com/avatar/892698bb1d3f6dae0e3a44abe3e26920ddb4eb000c6c583c87b4db5e5027e166?d=identicon)[beberlei](/maintainers/beberlei)

---

Top Contributors

[![greg0ire](https://avatars.githubusercontent.com/u/657779?v=4)](https://github.com/greg0ire "greg0ire (127 commits)")[![carusogabriel](https://avatars.githubusercontent.com/u/16328050?v=4)](https://github.com/carusogabriel "carusogabriel (75 commits)")[![Ocramius](https://avatars.githubusercontent.com/u/154256?v=4)](https://github.com/Ocramius "Ocramius (68 commits)")[![Majkl578](https://avatars.githubusercontent.com/u/144181?v=4)](https://github.com/Majkl578 "Majkl578 (59 commits)")[![simPod](https://avatars.githubusercontent.com/u/327717?v=4)](https://github.com/simPod "simPod (45 commits)")[![lcobucci](https://avatars.githubusercontent.com/u/201963?v=4)](https://github.com/lcobucci "lcobucci (40 commits)")[![deeky666](https://avatars.githubusercontent.com/u/1411514?v=4)](https://github.com/deeky666 "deeky666 (25 commits)")[![ostrolucky](https://avatars.githubusercontent.com/u/496233?v=4)](https://github.com/ostrolucky "ostrolucky (22 commits)")[![alcaeus](https://avatars.githubusercontent.com/u/383198?v=4)](https://github.com/alcaeus "alcaeus (16 commits)")[![dependabot[bot]](https://avatars.githubusercontent.com/in/29110?v=4)](https://github.com/dependabot[bot] "dependabot[bot] (16 commits)")[![derrabus](https://avatars.githubusercontent.com/u/1506493?v=4)](https://github.com/derrabus "derrabus (13 commits)")[![phansys](https://avatars.githubusercontent.com/u/1231441?v=4)](https://github.com/phansys "phansys (10 commits)")[![dependabot-preview[bot]](https://avatars.githubusercontent.com/in/2141?v=4)](https://github.com/dependabot-preview[bot] "dependabot-preview[bot] (6 commits)")[![gmponos](https://avatars.githubusercontent.com/u/5675248?v=4)](https://github.com/gmponos "gmponos (5 commits)")[![SenseException](https://avatars.githubusercontent.com/u/859964?v=4)](https://github.com/SenseException "SenseException (4 commits)")[![jwage](https://avatars.githubusercontent.com/u/97422?v=4)](https://github.com/jwage "jwage (4 commits)")[![jrfnl](https://avatars.githubusercontent.com/u/663378?v=4)](https://github.com/jrfnl "jrfnl (4 commits)")[![malarzm](https://avatars.githubusercontent.com/u/4947711?v=4)](https://github.com/malarzm "malarzm (4 commits)")[![beberlei](https://avatars.githubusercontent.com/u/26936?v=4)](https://github.com/beberlei "beberlei (3 commits)")[![yourwebmaker](https://avatars.githubusercontent.com/u/812971?v=4)](https://github.com/yourwebmaker "yourwebmaker (2 commits)")

---

Tags

coding-standardcoding-stylephpphp7strict-typesdevcodestyledoctrinestandardrulessniffercodingcssniffschecks

### Embed Badge

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

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

###  Alternatives

[leroy-merlin-br/coding-standard

The coding standard for PHP projects on LMBR

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

Consistence - Coding Standard - PHP Code Sniffer rules

75833.3k94](/packages/consistence-coding-standard)

PHPackages © 2026

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