PHPackages                             eufaturo/coding-standards - 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. [PSR &amp; Standards](/categories/psr-standards)
4. /
5. eufaturo/coding-standards

ActiveComposer-plugin[PSR &amp; Standards](/categories/psr-standards)

eufaturo/coding-standards
=========================

Coding standards for Eufaturo projects.

06.0k[1 issues](https://github.com/eufaturo/coding-standards/issues)1PHP

Since Feb 15Pushed 6mo ago1 watchersCompare

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

READMEChangelogDependenciesVersions (2)Used By (1)

Eufaturo Coding Standards
=========================

[](#eufaturo-coding-standards)

This repository contains the coding standards followed by Eufaturo projects.

It includes configuration for:

- [Easy Coding Standard](https://github.com/easy-coding-standard/easy-coding-standard) (`ecs`)
- [PHPStan](https://phpstan.org/) (`phpstan`)
- [Rector](https://getrector.org/) (`rector`)

Setup
-----

[](#setup)

First install the dependency through Composer by running:

```
composer require eufaturo/coding-standards --dev
```

Once the dependency is installed, run the following:

```
composer eufaturo:setup-coding-standards
```

Next open your `composer.json` file and add the following section:

```
"scripts": {
    "ecs:fix": "./vendor/bin/ecs --fix",
    "ecs:check": "./vendor/bin/ecs",
    "phpstan:check": "./vendor/bin/phpstan analyse --ansi",
    "phpstan:generate-baseline":  "./vendor/bin/phpstan --generate-baseline",
    "rector:fix": "./vendor/bin/rector process --ansi",
    "rector:check": "./vendor/bin/rector process --ansi --dry-run"
},
```

> *Note*: If you already have a `scripts` section on your `composer.json` file, just merge the new scripts with the existing ones.

Usage
-----

[](#usage)

To use it, you can run one of the scripts added to your `composer.json` file:

```
composer ecs:fix
composer ecs:check
composer phpstan:check
composer phpstan:generate-baseline
composer rector:fix
composer rector:check
```

License
-------

[](#license)

This package is open-sourced software licensed under the [MIT license](https://opensource.org/licenses/MIT).

###  Health Score

27

—

LowBetter than 49% of packages

Maintenance50

Moderate activity, may be stable

Popularity22

Limited adoption so far

Community11

Small or concentrated contributor base

Maturity21

Early-stage or recently created project

 Bus Factor1

Top contributor holds 50% 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.

### Community

Maintainers

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

---

Top Contributors

[![brunogaspar](https://avatars.githubusercontent.com/u/2285372?v=4)](https://github.com/brunogaspar "brunogaspar (1 commits)")[![renovate[bot]](https://avatars.githubusercontent.com/in/2740?v=4)](https://github.com/renovate[bot] "renovate[bot] (1 commits)")

### Embed Badge

![Health badge](/badges/eufaturo-coding-standards/health.svg)

```
[![Health](https://phpackages.com/badges/eufaturo-coding-standards/health.svg)](https://phpackages.com/packages/eufaturo-coding-standards)
```

###  Alternatives

[phpdocumentor/type-resolver

A PSR-5 based resolver of Class names, Types and Structural Element Names

9.2k719.5M166](/packages/phpdocumentor-type-resolver)[pimple/pimple

Pimple, a simple Dependency Injection Container

2.7k130.5M1.4k](/packages/pimple-pimple)[league/container

A fast and intuitive dependency injection container.

86387.8M342](/packages/league-container)[stella-maris/clock

A pre-release of the proposed PSR-20 Clock-Interface

7947.5M2](/packages/stella-maris-clock)[wptrt/wpthemereview

PHP\_CodeSniffer rules (sniffs) to verify theme compliance with the rules for theme hosting on wordpress.org

217736.5k29](/packages/wptrt-wpthemereview)[inpsyde/modularity

Modular PSR-11 implementation for WordPress plugins, themes or libraries.

54383.3k3](/packages/inpsyde-modularity)

PHPackages © 2026

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