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

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

youdot/coding-standard
======================

The coding standard applying to all Youdot PHP projects, based on Doctrine set of PHPCS rules, with additional checks.

3.1.0(5y ago)39.0k110MITPHPCI failing

Since Mar 19Pushed 5y ago2 watchersCompare

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

READMEChangelogDependencies (4)Versions (10)Used By (10)

Youdot Coding Standard
======================

[](#youdot-coding-standard)

[![Latest Stable Version](https://camo.githubusercontent.com/3c68e910e3cf999c23862a4f8be38e0981de1dfd2a123e6310fabdc293526a95/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f796f75646f742f636f64696e672d7374616e646172642e7376673f7374796c653d666c61742d73717561726526636f6c6f72423d303037454336)](https://packagist.org/packages/youdot/coding-standard)[![Build status](https://camo.githubusercontent.com/a5970eca4fa6b62805bf5707879b82ff76e3a271bbe46efbc80accfe53173db3/68747470733a2f2f696d672e736869656c64732e696f2f7472617669732f596f75646f742f636f64696e672d7374616e646172642d7068702f6d61737465722e7376673f6c6162656c3d747261766973267374796c653d666c61742d737175617265)](https://travis-ci.org/Youdot/coding-standard-php)[![PHPStan](https://camo.githubusercontent.com/e43e27acff50e6ee0656e0a112d484ff55f844ff10e79b3d17641033ea51d18f/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f7374796c652d6c6576656c253230372d627269676874677265656e2e7376673f7374796c653d666c61742d737175617265266c6162656c3d7068707374616e)](https://camo.githubusercontent.com/e43e27acff50e6ee0656e0a112d484ff55f844ff10e79b3d17641033ea51d18f/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f7374796c652d6c6576656c253230372d627269676874677265656e2e7376673f7374796c653d666c61742d737175617265266c6162656c3d7068707374616e)

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

Install
-------

[](#install)

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

Usage
-----

[](#usage)

```

```

Additional Sniffs
-----------------

[](#additional-sniffs)

- SnakeCase Variable
- Modifier Letter Apostrophe Character
- Immutable classes through [Psalm](https://psalm.dev/)

To disable them:

```

```

If you're using Psalm you can enable

```

```

###  Health Score

35

—

LowBetter than 79% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity23

Limited adoption so far

Community19

Small or concentrated contributor base

Maturity66

Established project with proven stability

 Bus Factor1

Top contributor holds 95.8% 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 ~78 days

Total

9

Last Release

1983d ago

Major Versions

1.1.0 → 2.0.02020-01-02

2.0.4 → 3.0.02020-06-09

### Community

Maintainers

![](https://www.gravatar.com/avatar/5f31e3a808a4f015ebad005caa64866fc90e39475151fc95ef1e11f774d35505?d=identicon)[Th3Mouk](/maintainers/Th3Mouk)

---

Top Contributors

[![Th3Mouk](https://avatars.githubusercontent.com/u/5006899?v=4)](https://github.com/Th3Mouk "Th3Mouk (23 commits)")[![TomPradat](https://avatars.githubusercontent.com/u/16164512?v=4)](https://github.com/TomPradat "TomPradat (1 commits)")

---

Tags

coding-standardsphpphp-codesnifferphp7static-analysisstandardsphpcsphpcbfstylerulessniffercssniffschecksCoding Standardyoudot

###  Code Quality

TestsPHPUnit

Static AnalysisPHPStan

Type Coverage Yes

### Embed Badge

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

```
[![Health](https://phpackages.com/badges/youdot-coding-standard/health.svg)](https://phpackages.com/packages/youdot-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)[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)
