PHPackages                             neuecommerce/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. neuecommerce/coding-standards

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

neuecommerce/coding-standards
=============================

Coding standards for Neue Commerce projects.

02.1kPHP

Since Mar 28Pushed 1y ago1 watchersCompare

[ Source](https://github.com/neuecommerce/coding-standards)[ Packagist](https://packagist.org/packages/neuecommerce/coding-standards)[ RSS](/packages/neuecommerce-coding-standards/feed)WikiDiscussions main Synced today

READMEChangelogDependenciesVersions (1)Used By (0)

Neue Commerce Coding Standards
==============================

[](#neue-commerce-coding-standards)

This repository contains the coding standards followed by Neue Commerce 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 neuecommerce/coding-standards --dev
```

Once the dependency is installed, run the following:

```
composer neuecommerce: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": "./vendor/bin/phpstan analyse --ansi",
    "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
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

19

—

LowBetter than 9% of packages

Maintenance33

Infrequent updates — may be unmaintained

Popularity15

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity16

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.

### Community

Maintainers

![](https://www.gravatar.com/avatar/893f74bcec10587165175f953a8518cd5c1446cc6955aa40a495ed3eb6a3de89?d=identicon)[neuecommerce](/maintainers/neuecommerce)

---

Top Contributors

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

---

Tags

php

### Embed Badge

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

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

###  Alternatives

[aura/di

A serializable dependency injection container with constructor and setter injection, interface and trait awareness, configuration inheritance, and much more.

356990.6k60](/packages/aura-di)

PHPackages © 2026

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