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

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

sylius-labs/coding-standard
===========================

Battle-tested coding standard configuration used in Sylius.

v4.5.0(5mo ago)896.1M—6.9%2720MITPHPPHP ^8.0CI failing

Since Sep 27Pushed 5mo ago6 watchersCompare

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

READMEChangelog (10)Dependencies (2)Versions (27)Used By (20)

 Coding Standard
=================

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

🥇 Battle-tested coding standard configuration used in Sylius.

Installation &amp; usage
------------------------

[](#installation--usage)

1. Install this package:

    ```
    composer require --dev sylius-labs/coding-standard
    ```
2. Import the configuration file in your `ecs.php`:

    ```
    $ecsConfig->import('vendor/sylius-labs/coding-standard/ecs.php');
    ```

Example config (ecs.php)
------------------------

[](#example-config-ecsphp)

```
use Symplify\EasyCodingStandard\Config\ECSConfig;

return static function (ECSConfig $ecsConfig): void {
    $ecsConfig->import(__DIR__ . '/vendor/sylius-labs/coding-standard/ecs.php');
};
```

Upgrade from YML to PHP config file
-----------------------------------

[](#upgrade-from-yml-to-php-config-file)

Use this [package](https://github.com/symplify/config-transformer) and follow their guidelines to automatically migrate your YML config to a PHP config file.

###  Health Score

66

—

FairBetter than 99% of packages

Maintenance70

Regular maintenance activity

Popularity60

Solid adoption and visibility

Community49

Growing community involvement

Maturity78

Established project with proven stability

 Bus Factor3

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

Recently: every ~230 days

Total

26

Last Release

176d ago

Major Versions

v1.0.1 → v2.0.02018-05-15

v2.0.0 → v3.0.02018-11-13

v3.2.2 → v4.0.02021-03-19

PHP version history (4 changes)v1.0.0PHP ^7.1

v3.2.2PHP ^7.1 || ^8.0

v4.0.0PHP ^7.3 || ^8.0

v4.2.0PHP ^8.0

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/719423?v=4)[Sylius eCommerce](/maintainers/sylius)[@Sylius](https://github.com/Sylius)

![](https://www.gravatar.com/avatar/4b4a5a1a9293502aa8573551fab020963a9050c5cca4524433b6d94214d3b480?d=identicon)[GSadee](/maintainers/GSadee)

---

Top Contributors

[![pamil](https://avatars.githubusercontent.com/u/1897953?v=4)](https://github.com/pamil "pamil (46 commits)")[![Zales0123](https://avatars.githubusercontent.com/u/6212718?v=4)](https://github.com/Zales0123 "Zales0123 (15 commits)")[![GSadee](https://avatars.githubusercontent.com/u/6140884?v=4)](https://github.com/GSadee "GSadee (10 commits)")[![lchrusciel](https://avatars.githubusercontent.com/u/6213903?v=4)](https://github.com/lchrusciel "lchrusciel (10 commits)")[![loevgaard](https://avatars.githubusercontent.com/u/2412177?v=4)](https://github.com/loevgaard "loevgaard (8 commits)")[![TomasVotruba](https://avatars.githubusercontent.com/u/924196?v=4)](https://github.com/TomasVotruba "TomasVotruba (6 commits)")[![coldic3](https://avatars.githubusercontent.com/u/13316080?v=4)](https://github.com/coldic3 "coldic3 (5 commits)")[![stefandoorn](https://avatars.githubusercontent.com/u/4903082?v=4)](https://github.com/stefandoorn "stefandoorn (3 commits)")[![Rafikooo](https://avatars.githubusercontent.com/u/40125720?v=4)](https://github.com/Rafikooo "Rafikooo (3 commits)")[![NoResponseMate](https://avatars.githubusercontent.com/u/9448101?v=4)](https://github.com/NoResponseMate "NoResponseMate (3 commits)")[![LucaGallinari](https://avatars.githubusercontent.com/u/5822554?v=4)](https://github.com/LucaGallinari "LucaGallinari (2 commits)")[![loic425](https://avatars.githubusercontent.com/u/8329789?v=4)](https://github.com/loic425 "loic425 (2 commits)")[![szepeviktor](https://avatars.githubusercontent.com/u/952007?v=4)](https://github.com/szepeviktor "szepeviktor (2 commits)")[![oallain](https://avatars.githubusercontent.com/u/6593252?v=4)](https://github.com/oallain "oallain (1 commits)")[![alexander-schranz](https://avatars.githubusercontent.com/u/1698337?v=4)](https://github.com/alexander-schranz "alexander-schranz (1 commits)")[![loicmobizel](https://avatars.githubusercontent.com/u/17434491?v=4)](https://github.com/loicmobizel "loicmobizel (1 commits)")[![SebLours](https://avatars.githubusercontent.com/u/5138394?v=4)](https://github.com/SebLours "SebLours (1 commits)")[![cv65kr](https://avatars.githubusercontent.com/u/9404962?v=4)](https://github.com/cv65kr "cv65kr (1 commits)")[![angelov](https://avatars.githubusercontent.com/u/138429?v=4)](https://github.com/angelov "angelov (1 commits)")[![clem21](https://avatars.githubusercontent.com/u/25388851?v=4)](https://github.com/clem21 "clem21 (1 commits)")

### Embed Badge

![Health badge](/badges/sylius-labs-coding-standard/health.svg)

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

###  Alternatives

[yoast/yoastcs

PHP\_CodeSniffer rules for Yoast projects

221.1M29](/packages/yoast-yoastcs)[suin/phpcs-psr4-sniff

PHP\_CodeSniffer sniff that checks class name matches PSR-4 project structure.

271.7M16](/packages/suin-phpcs-psr4-sniff)[mayflower/mo4-coding-standard

PHP CodeSniffer ruleset implementing the MO4 coding standards extending the Symfony coding standards.

17508.3k5](/packages/mayflower-mo4-coding-standard)[infinum/eightshift-coding-standards

Eightshift WordPress Coding Standards

1785.2k3](/packages/infinum-eightshift-coding-standards)[orisai/coding-standard

Strict PHP coding standard

19193.5k62](/packages/orisai-coding-standard)[szepeviktor/phpcs-psr-12-neutron-hybrid-ruleset

Hybrid PHPCS ruleset for OOP WordPress development

1149.1k9](/packages/szepeviktor-phpcs-psr-12-neutron-hybrid-ruleset)

PHPackages © 2026

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