PHPackages                             mikelgoig/easy-coding-standard-rules - 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. mikelgoig/easy-coding-standard-rules

ActiveLibrary[Testing &amp; Quality](/categories/testing)

mikelgoig/easy-coding-standard-rules
====================================

Easy Coding Standard rules.

1.1.1(1y ago)1547↓33.3%2MITPHPPHP &gt;=7.2

Since Jan 17Pushed 1y ago1 watchersCompare

[ Source](https://github.com/mikelgoig/easy-coding-standard-rules)[ Packagist](https://packagist.org/packages/mikelgoig/easy-coding-standard-rules)[ RSS](/packages/mikelgoig-easy-coding-standard-rules/feed)WikiDiscussions main Synced 1mo ago

READMEChangelogDependencies (4)Versions (5)Used By (2)

 Easy Coding Standard rules
============================

[](#----easy-coding-standard-rules)

Created by [Mikel Goig](https://mikelgoig.com).

 [ View Repository ](https://github.com/mikelgoig/easy-coding-standard-rules)

---

[![Packagist Version](https://camo.githubusercontent.com/28eaa06c47393b35259cde86ef902b6b5296dc3f80c5beb56b7ad027db3ebd98/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f6d696b656c676f69672f656173792d636f64696e672d7374616e646172642d72756c6573)](https://packagist.org/packages/mikelgoig/easy-coding-standard-rules)[![Packagist Downloads](https://camo.githubusercontent.com/301ccdbe6549e64e42bc77dec87d660c7afd1df9f35843a40ff7f073d45d401c/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f6d696b656c676f69672f656173792d636f64696e672d7374616e646172642d72756c6573)](https://packagist.org/packages/mikelgoig/easy-coding-standard-rules/stats)[![Packagist PHP Version](https://camo.githubusercontent.com/f8058a403732209bbca33abdee1c7901865acfd595a7062e603e27bbb25bc100/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f646570656e64656e63792d762f6d696b656c676f69672f656173792d636f64696e672d7374616e646172642d72756c65732f706870)](https://thephp.foundation)

**This package provides you with opinionated [Easy Coding Standard](https://github.com/easy-coding-standard/easy-coding-standard) rules considering modern PHP best practices and providing consistency.**

😎 Installation
--------------

[](#-installation)

1. Install this package using Composer:

    ```
    composer require --dev mikelgoig/easy-coding-standard-rules
    ```

🛠️ Configuration
----------------

[](#️-configuration)

1. Add the rule sets in your `ecs.php` file:

    ```
    use MikelGoig\EasyCodingStandard\SetList as CodingStandard;
    use Symplify\EasyCodingStandard\Config\ECSConfig;

    return ECSConfig::configure()
        ->withSets([CodingStandard::DEFAULT, CodingStandard::RISKY]);
    ```
2. Run ECS:

    ```
    vendor/bin/ecs
    ```

###  Health Score

29

—

LowBetter than 60% of packages

Maintenance44

Moderate activity, may be stable

Popularity17

Limited adoption so far

Community11

Small or concentrated contributor base

Maturity36

Early-stage or recently created project

 Bus Factor1

Top contributor holds 100% 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 ~15 days

Total

4

Last Release

435d ago

PHP version history (2 changes)1.0.0PHP 8.3.\*

1.1.1PHP &gt;=7.2

### Community

Maintainers

![](https://www.gravatar.com/avatar/747d9f689737779231e5602355fdcbf154f9b773eff7b0823a59fb9a57a3bfef?d=identicon)[mikelgoig](/maintainers/mikelgoig)

---

Top Contributors

[![mikelgoig](https://avatars.githubusercontent.com/u/8067861?v=4)](https://github.com/mikelgoig "mikelgoig (7 commits)")

---

Tags

code-stylecoding-standarddeveasy-coding-standardecslintingstatic-analysisdevstatic analysisCode styleECSCoding Standardlintingeasy-coding-standard

### Embed Badge

![Health badge](/badges/mikelgoig-easy-coding-standard-rules/health.svg)

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

###  Alternatives

[phpstan/phpstan

PHPStan - PHP Static Analysis Tool

13.9k341.8M29.6k](/packages/phpstan-phpstan)[symplify/easy-coding-standard

Use Coding Standard with 0-knowledge of PHP-CS-Fixer and PHP\_CodeSniffer.

1.6k34.6M1.5k](/packages/symplify-easy-coding-standard)[escapestudios/symfony2-coding-standard

CodeSniffer ruleset for the Symfony 2+ coding standard

40611.1M275](/packages/escapestudios-symfony2-coding-standard)[staabm/phpstan-dba

2912.3M2](/packages/staabm-phpstan-dba)[staabm/phpstan-todo-by

1991.8M55](/packages/staabm-phpstan-todo-by)[erickskrauch/php-cs-fixer-custom-fixers

A set of custom fixers for PHP-CS-Fixer

302.1M18](/packages/erickskrauch-php-cs-fixer-custom-fixers)

PHPackages © 2026

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