PHPackages                             nekih/symfony-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. [Testing &amp; Quality](/categories/testing)
4. /
5. nekih/symfony-coding-standard

ActivePhpcodesniffer-standard[Testing &amp; Quality](/categories/testing)

nekih/symfony-coding-standard
=============================

Fork CodeSniffer ruleset for the Symfony 2+ coding standard

3.1.4(8y ago)022MITPHP

Since Apr 10Pushed 8y ago1 watchersCompare

[ Source](https://github.com/nekih/Symfony-coding-standard)[ Packagist](https://packagist.org/packages/nekih/symfony-coding-standard)[ RSS](/packages/nekih-symfony-coding-standard/feed)WikiDiscussions master Synced 2w ago

READMEChangelogDependencies (2)Versions (28)Used By (0)

[![Build Status](https://camo.githubusercontent.com/870a2363865a4aee7df3ef9d0b078949f04adb203d2803407c2d65036e1549bf/68747470733a2f2f7365637572652e7472617669732d63692e6f72672f646a6f6f732f53796d666f6e792d636f64696e672d7374616e646172642e706e67)](http://travis-ci.org/djoos/Symfony-coding-standard)

Symfony PHP CodeSniffer Coding Standard
=======================================

[](#symfony-php-codesniffer-coding-standard)

A coding standard to check against the [Symfony coding standards](http://symfony.com/doc/current/contributing/code/standards.html), originally shamelessly copied from the -disappeared- opensky/Symfony2-coding-standard repository.

Installation
------------

[](#installation)

### Composer

[](#composer)

This standard can be installed with the [Composer](https://getcomposer.org/) dependency manager.

1. [Install Composer](https://getcomposer.org/doc/00-intro.md)
2. Install the coding standard as a dependency of your project

    ```
     composer require --dev escapestudios/symfony2-coding-standard:3.x-dev

    ```
3. Add the coding standard to the PHP\_CodeSniffer install path

    ```
     vendor/bin/phpcs --config-set installed_paths vendor/escapestudios/symfony2-coding-standard

    ```
4. Check the installed coding standards for "Symfony"

    ```
     vendor/bin/phpcs -i

    ```
5. Done!

    ```
     vendor/bin/phpcs /path/to/code

    ```

### Stand-alone

[](#stand-alone)

1. Install [PHP\_CodeSniffer](https://github.com/squizlabs/PHP_CodeSniffer)
2. Checkout this repository

    ```
     git clone git://github.com/djoos/Symfony2-coding-standard.git

    ```
3. Add the coding standard to the PHP\_CodeSniffer install path

    ```
     phpcs --config-set installed_paths /path/to/Symfony2-coding-standard

    ```

    Or copy/symlink this repository's "Symfony"-folder inside the phpcs `Standards` directory
4. Check the installed coding standards for "Symfony"

    ```
     phpcs -i

    ```
5. Done!

    ```
     phpcs /path/to/code

    ```

###  Health Score

31

—

LowBetter than 66% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity6

Limited adoption so far

Community18

Small or concentrated contributor base

Maturity73

Established project with proven stability

 Bus Factor1

Top contributor holds 55.3% 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 ~41 days

Recently: every ~7 days

Total

27

Last Release

3029d ago

Major Versions

2.x-dev → 3.0.02017-07-20

### Community

Maintainers

![](https://www.gravatar.com/avatar/2bb6b5e8200059df4622059b89f8818ec0a67a9f1c61dbe7f6a4b9eaed6d1c0f?d=identicon)[nekih82](/maintainers/nekih82)

---

Top Contributors

[![djoos](https://avatars.githubusercontent.com/u/449510?v=4)](https://github.com/djoos "djoos (88 commits)")[![wickedOne](https://avatars.githubusercontent.com/u/343850?v=4)](https://github.com/wickedOne "wickedOne (31 commits)")[![Craige](https://avatars.githubusercontent.com/u/469311?v=4)](https://github.com/Craige "Craige (8 commits)")[![stof](https://avatars.githubusercontent.com/u/439401?v=4)](https://github.com/stof "stof (4 commits)")[![mfratczak-priv](https://avatars.githubusercontent.com/u/248186685?v=4)](https://github.com/mfratczak-priv "mfratczak-priv (4 commits)")[![droslaw](https://avatars.githubusercontent.com/u/898669?v=4)](https://github.com/droslaw "droslaw (3 commits)")[![istrof](https://avatars.githubusercontent.com/u/1378618?v=4)](https://github.com/istrof "istrof (3 commits)")[![soullivaneuh](https://avatars.githubusercontent.com/u/1698357?v=4)](https://github.com/soullivaneuh "soullivaneuh (3 commits)")[![bertramakers](https://avatars.githubusercontent.com/u/959026?v=4)](https://github.com/bertramakers "bertramakers (2 commits)")[![mschroeder](https://avatars.githubusercontent.com/u/188470?v=4)](https://github.com/mschroeder "mschroeder (2 commits)")[![rweich](https://avatars.githubusercontent.com/u/9618911?v=4)](https://github.com/rweich "rweich (2 commits)")[![insekticid](https://avatars.githubusercontent.com/u/177340?v=4)](https://github.com/insekticid "insekticid (1 commits)")[![mmoll](https://avatars.githubusercontent.com/u/1434927?v=4)](https://github.com/mmoll "mmoll (1 commits)")[![echernyavskiy](https://avatars.githubusercontent.com/u/1200767?v=4)](https://github.com/echernyavskiy "echernyavskiy (1 commits)")[![npotier](https://avatars.githubusercontent.com/u/1151094?v=4)](https://github.com/npotier "npotier (1 commits)")[![Romashka](https://avatars.githubusercontent.com/u/2758995?v=4)](https://github.com/Romashka "Romashka (1 commits)")[![dimabarbul](https://avatars.githubusercontent.com/u/2970647?v=4)](https://github.com/dimabarbul "dimabarbul (1 commits)")[![frenck](https://avatars.githubusercontent.com/u/195327?v=4)](https://github.com/frenck "frenck (1 commits)")[![joshuataylor](https://avatars.githubusercontent.com/u/225131?v=4)](https://github.com/joshuataylor "joshuataylor (1 commits)")[![MatthieuSarter](https://avatars.githubusercontent.com/u/11583916?v=4)](https://github.com/MatthieuSarter "MatthieuSarter (1 commits)")

###  Code Quality

TestsPHPUnit

Code StylePHP\_CodeSniffer

### Embed Badge

![Health badge](/badges/nekih-symfony-coding-standard/health.svg)

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

###  Alternatives

[dms/phpunit-arraysubset-asserts

This package provides ArraySubset and related asserts once deprecated in PHPUnit 8

14228.7M341](/packages/dms-phpunit-arraysubset-asserts)[phpbenchmark/phpbenchmark

Easy to use benchmark toolkit for your PHP-application. This library contains classes for comparing algorithms as well as benchmarking application responses

8011.5k2](/packages/phpbenchmark-phpbenchmark)

PHPackages © 2026

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