PHPackages                             danielescherzer/common-phpcs - 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. [Testing &amp; Quality](/categories/testing)
4. /
5. danielescherzer/common-phpcs

ActivePhpcodesniffer-standard[Testing &amp; Quality](/categories/testing)

danielescherzer/common-phpcs
============================

PHP CodeSniffer standards, partially based on mediawiki/mediawiki-codesniffer

v0.0.2(1y ago)1829↓100%12MITPHPCI passing

Since Feb 13Pushed 2mo ago1 watchersCompare

[ Source](https://github.com/DanielEScherzer/common-phpcs)[ Packagist](https://packagist.org/packages/danielescherzer/common-phpcs)[ RSS](/packages/danielescherzer-common-phpcs/feed)WikiDiscussions main Synced 1mo ago

READMEChangelog (2)Dependencies (6)Versions (3)Used By (2)

PHP Codesniffer configuration
=============================

[](#php-codesniffer-configuration)

About
-----

[](#about)

This composer library implements a set of rules for [PHP Codesniffer](https://packagist.org/packages/squizlabs/php_codesniffer).

It is based on the ruleset provided by the `mediawiki/mediawiki-codesniffer` package, but with the MediaWiki-specific parts disabled and some other modifications.

See [docs/rules.txt](docs/rules.txt) for the list of included sniffs.

Usage
-----

[](#usage)

```

	.

```

###  Health Score

34

—

LowBetter than 77% of packages

Maintenance71

Regular maintenance activity

Popularity20

Limited adoption so far

Community14

Small or concentrated contributor base

Maturity28

Early-stage or recently created project

 Bus Factor1

Top contributor holds 87.5% 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 ~5 days

Total

2

Last Release

444d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/a9b3ab4f7e436378139ba31fb6f302fd9e611da977a2effeb153cf443bf2c10f?d=identicon)[DanielEScherzer](/maintainers/DanielEScherzer)

---

Top Contributors

[![DanielEScherzer](https://avatars.githubusercontent.com/u/179652704?v=4)](https://github.com/DanielEScherzer "DanielEScherzer (7 commits)")[![rodrigoprimo](https://avatars.githubusercontent.com/u/77215?v=4)](https://github.com/rodrigoprimo "rodrigoprimo (1 commits)")

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/danielescherzer-common-phpcs/health.svg)

```
[![Health](https://phpackages.com/badges/danielescherzer-common-phpcs/health.svg)](https://phpackages.com/packages/danielescherzer-common-phpcs)
```

###  Alternatives

[slevomat/coding-standard

Slevomat Coding Standard for PHP\_CodeSniffer complements Consistence Coding Standard by providing sniffs with additional checks.

1.5k123.5M1.8k](/packages/slevomat-coding-standard)[yoast/yoastcs

PHP\_CodeSniffer rules for Yoast projects

221.1M29](/packages/yoast-yoastcs)[moodlehq/moodle-cs

Moodle Coding Sniffer rules

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

PHPackages © 2026

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