PHPackages                             eonx-com/easy-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. eonx-com/easy-standard

AbandonedArchivedLibrary

eonx-com/easy-standard
======================

Centralised source of coding standard classes

3.0.24(5y ago)030.6k1MITPHPPHP ^7.2

Since Mar 19Pushed 5y ago2 watchersCompare

[ Source](https://github.com/eonx-com/easy-standard)[ Packagist](https://packagist.org/packages/eonx-com/easy-standard)[ RSS](/packages/eonx-com-easy-standard/feed)WikiDiscussions master Synced 1w ago

READMEChangelogDependencies (6)Versions (157)Used By (1)

\---eonx\_docs--- title: Introduction weight: 0 ---eonx\_docs---

This package is a way to centralise reusable classes used for coding standards. It contains:

- [Rectors](https://github.com/rectorphp/rector)
- [Sniffs](https://github.com/squizlabs/PHP_CodeSniffer)

### Require package (Composer)

[](#require-package-composer)

We recommend using [Composer](https://getcomposer.org/) to manage your dependencies. You can require this package as follows:

```
$ composer require --dev eonx/easy-standard
```

### Prepare configuration file for ECS (Easy Coding Standard) Sniffs

[](#prepare-configuration-file-for-ecs-easy-coding-standard-sniffs)

You can use one of the following names for a configuration file: `ecs.php`, `ecs.yml`, `ecs.yaml`, `easy-coding-standard.yml`, or `easy-coding-standard.yaml`. Create this file in the root folder of the project.

**Note**: The YAML configuration is deprecated in the new ECS versions. Use the PHP configuration if possible.

The basic structure of the configuration file follows:

```
// ecs.php
declare(strict_types=1);

use Symfony\Component\DependencyInjection\Loader\Configurator\ContainerConfigurator;

return static function (ContainerConfigurator $containerConfigurator): void {
    $parameters = $containerConfigurator->parameters();
    /*
     * List of parameters
     */

    $services = $containerConfigurator->services();
    /*
     * List of services
     */
};
```

```
# ecs.yml
parameters:
    # List of parameters

services:
    # List of services
```

### Run ECS check

[](#run-ecs-check)

Go to the root folder of the project and run

```
vendor/bin/ecs check
```

Expected output:

```
[OK] No errors found. Great job - your code is shiny in style!

```

### Prepare configuration file for Rector

[](#prepare-configuration-file-for-rector)

You can use one of the following names for a configuration file: `rector.php`, `rector.yml` or `rector.yaml`. Create this file in the root folder of the project.

**Note**: The YAML configuration is deprecated in the new Rector versions. Use the PHP configuration if possible.

The basic structure of the configuration file follows:

```
// rector.php
declare(strict_types=1);

use Symfony\Component\DependencyInjection\Loader\Configurator\ContainerConfigurator;

return static function (ContainerConfigurator $containerConfigurator): void {
    $parameters = $containerConfigurator->parameters();
    /*
     * List of parameters
     */

    $services = $containerConfigurator->services();
    /*
     * List of services
     */
};
```

```
# rector.yml
parameters:
    # List of parameters

services:
    # List of services
```

### Run Rector check

[](#run-rector-check)

Go to the root folder of the project and run

```
touch `php -r "echo sys_get_temp_dir() . '/_rector_type_probe.txt';"` && vendor/bin/rector process --dry-run
```

Expected output:

```
[OK] Rector is done!

```

###  Health Score

35

—

LowBetter than 80% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity21

Limited adoption so far

Community17

Small or concentrated contributor base

Maturity69

Established project with proven stability

 Bus Factor2

2 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 ~3 days

Total

132

Last Release

1858d ago

Major Versions

2.5.27 → 3.0.0-alpha22020-12-17

2.5.30 → 3.0.32021-01-26

2.5.31 → 3.0.5-alpha12021-02-07

2.5.32 → 3.0.5-alpha22021-03-05

2.5.33 → 3.0.5-alpha42021-03-09

PHP version history (2 changes)v2.3.5PHP ^7.1

v2.5.11PHP ^7.2

### Community

Maintainers

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

---

Top Contributors

[![natepage](https://avatars.githubusercontent.com/u/11576446?v=4)](https://github.com/natepage "natepage (23 commits)")[![BOB41K1987](https://avatars.githubusercontent.com/u/20467102?v=4)](https://github.com/BOB41K1987 "BOB41K1987 (11 commits)")[![TomasVotruba](https://avatars.githubusercontent.com/u/924196?v=4)](https://github.com/TomasVotruba "TomasVotruba (9 commits)")[![DKeeper](https://avatars.githubusercontent.com/u/1589751?v=4)](https://github.com/DKeeper "DKeeper (6 commits)")[![ttam](https://avatars.githubusercontent.com/u/177120?v=4)](https://github.com/ttam "ttam (2 commits)")[![ERuban](https://avatars.githubusercontent.com/u/13186130?v=4)](https://github.com/ERuban "ERuban (2 commits)")[![skrut](https://avatars.githubusercontent.com/u/2828162?v=4)](https://github.com/skrut "skrut (1 commits)")[![nick-lc](https://avatars.githubusercontent.com/u/44986892?v=4)](https://github.com/nick-lc "nick-lc (1 commits)")

###  Code Quality

TestsPHPUnit

Static AnalysisPHPStan, Rector

Type Coverage Yes

### Embed Badge

![Health badge](/badges/eonx-com-easy-standard/health.svg)

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

###  Alternatives

[symfony/security-bundle

Provides a tight integration of the Security component into the Symfony full-stack framework

2.5k172.9M1.8k](/packages/symfony-security-bundle)[symfony/ux-notify

Native notification integration for Symfony

1274.7k](/packages/symfony-ux-notify)

PHPackages © 2026

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