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

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

egeniq/php-coding-standard
==========================

The Egeniq Coding Standard is a set of PHPCS rules that we use at Egeniq, it's based on the Doctrine project.

1.2.0(3y ago)114.3k↓33.3%MITPHP &gt;=7.4

Since Apr 16Pushed 3y ago8 watchersCompare

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

READMEChangelog (3)Dependencies (3)Versions (5)Used By (0)

Egeniq Coding Standard
======================

[](#egeniq-coding-standard)

The Egeniq Coding Standard is a set of [PHP\_CodeSniffer](https://github.com/squizlabs/PHP_CodeSniffer) rules that we use at Egeniq. The standard is heavily based on [Doctrine Coding Standard](https://github.com/doctrine/coding-standard/).

Installation
============

[](#installation)

You can install the Egeniq coding standard as a composer dependency to your particular project. Just run the following command to add it to your project:

```
php composer require --dev egeniq/php-coding-standard

```

Then you can use it like:

```
vendor/bin/phpcs --standard=Egeniq /path/to/some/file/to/sniff.php

```

You might also do automatic fixes using phpcbf:

```
vendor/bin/phpcbf --standard=Egeniq /path/to/some/file/to/sniff.php

```

Project-level ruleset
=====================

[](#project-level-ruleset)

To enable the Egeniq coding standard for your project, create a phpcs.xml.dist file with the following content:

```

    app
    tests

```

This will enable verbatim the Egeniq coding standard with all rules included with their defaults. From now on you can just run `vendor/bin/phpcs` and `vendor/bin/phpcbf` without any arguments 🙌.

###  Health Score

32

—

LowBetter than 72% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity26

Limited adoption so far

Community13

Small or concentrated contributor base

Maturity59

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 70.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 ~440 days

Total

3

Last Release

1343d ago

PHP version history (2 changes)1.0.0PHP ^7.1

1.2.0PHP &gt;=7.4

### Community

Maintainers

![](https://www.gravatar.com/avatar/2b4b93dbb2abaf36cebe760a22070aa02c39593f1f734c52e3043094f2d1a7bf?d=identicon)[andriesss](/maintainers/andriesss)

---

Top Contributors

[![andriesss](https://avatars.githubusercontent.com/u/325515?v=4)](https://github.com/andriesss "andriesss (17 commits)")[![lkeijmel](https://avatars.githubusercontent.com/u/532438?v=4)](https://github.com/lkeijmel "lkeijmel (5 commits)")[![wietsewarendorff](https://avatars.githubusercontent.com/u/313525?v=4)](https://github.com/wietsewarendorff "wietsewarendorff (2 commits)")

---

Tags

coding-standardcoding-stylephpphp7codestylestandardrulessniffercodingcssniffschecks

### Embed Badge

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

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

PHPackages © 2026

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