PHPackages                             escapestudios/symfony2-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. escapestudios/symfony2-coding-standard

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

escapestudios/symfony2-coding-standard
======================================

CodeSniffer ruleset for the Symfony 2+ coding standard

3.18.0(5mo ago)40611.1M—7.9%102[15 issues](https://github.com/djoos/Symfony-coding-standard/issues)20MITPHPCI passing

Since Apr 10Pushed 1mo ago20 watchersCompare

[ Source](https://github.com/djoos/Symfony-coding-standard)[ Packagist](https://packagist.org/packages/escapestudios/symfony2-coding-standard)[ Docs](https://github.com/djoos/Symfony-coding-standard)[ RSS](/packages/escapestudios-symfony2-coding-standard/feed)WikiDiscussions master Synced 1mo ago

READMEChangelogDependencies (2)Versions (48)Used By (20)

[![Build Status](https://github.com/djoos/Symfony-coding-standard/actions/workflows/ci.yml/badge.svg)](https://github.com/djoos/Symfony-coding-standard/actions/workflows/ci.yml/badge.svg)

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/PHPCSStandards/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

71

—

ExcellentBetter than 100% of packages

Maintenance81

Actively maintained with recent releases

Popularity67

Solid adoption and visibility

Community53

Growing community involvement

Maturity76

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 ~84 days

Recently: every ~111 days

Total

47

Last Release

153d ago

Major Versions

2.x-dev → 3.0.02017-07-20

### Community

Maintainers

![](https://www.gravatar.com/avatar/83bc84b2e3f67fdbb88509af3bc1fc7d17a64003d177f18d2397eee0ad0ddfc7?d=identicon)[devesc](/maintainers/devesc)

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

---

Top Contributors

[![djoos](https://avatars.githubusercontent.com/u/449510?v=4)](https://github.com/djoos "djoos (94 commits)")[![wickedOne](https://avatars.githubusercontent.com/u/343850?v=4)](https://github.com/wickedOne "wickedOne (34 commits)")[![mmoll](https://avatars.githubusercontent.com/u/1434927?v=4)](https://github.com/mmoll "mmoll (25 commits)")[![Craige](https://avatars.githubusercontent.com/u/469311?v=4)](https://github.com/Craige "Craige (8 commits)")[![xalopp](https://avatars.githubusercontent.com/u/1674529?v=4)](https://github.com/xalopp "xalopp (6 commits)")[![stof](https://avatars.githubusercontent.com/u/439401?v=4)](https://github.com/stof "stof (4 commits)")[![droslaw](https://avatars.githubusercontent.com/u/898669?v=4)](https://github.com/droslaw "droslaw (3 commits)")[![soullivaneuh](https://avatars.githubusercontent.com/u/1698357?v=4)](https://github.com/soullivaneuh "soullivaneuh (3 commits)")[![istrof](https://avatars.githubusercontent.com/u/1378618?v=4)](https://github.com/istrof "istrof (3 commits)")[![rweich](https://avatars.githubusercontent.com/u/9618911?v=4)](https://github.com/rweich "rweich (2 commits)")[![mschroeder](https://avatars.githubusercontent.com/u/188470?v=4)](https://github.com/mschroeder "mschroeder (2 commits)")[![bertramakers](https://avatars.githubusercontent.com/u/959026?v=4)](https://github.com/bertramakers "bertramakers (2 commits)")[![Matan](https://avatars.githubusercontent.com/u/184429?v=4)](https://github.com/Matan "Matan (1 commits)")[![MatthieuSarter](https://avatars.githubusercontent.com/u/11583916?v=4)](https://github.com/MatthieuSarter "MatthieuSarter (1 commits)")[![npotier](https://avatars.githubusercontent.com/u/1151094?v=4)](https://github.com/npotier "npotier (1 commits)")[![rodrigoprimo](https://avatars.githubusercontent.com/u/77215?v=4)](https://github.com/rodrigoprimo "rodrigoprimo (1 commits)")[![Romashka](https://avatars.githubusercontent.com/u/2758995?v=4)](https://github.com/Romashka "Romashka (1 commits)")[![joshuataylor](https://avatars.githubusercontent.com/u/225131?v=4)](https://github.com/joshuataylor "joshuataylor (1 commits)")[![alanksuqld](https://avatars.githubusercontent.com/u/6721391?v=4)](https://github.com/alanksuqld "alanksuqld (1 commits)")[![brianvarskonst](https://avatars.githubusercontent.com/u/53712359?v=4)](https://github.com/brianvarskonst "brianvarskonst (1 commits)")

---

Tags

coding-standardphpphp-codesniffersymfonyphpcssymfonystatic analysisSymfony2Coding Standard

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/escapestudios-symfony2-coding-standard/health.svg)

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

###  Alternatives

[wp-coding-standards/wpcs

PHP\_CodeSniffer rules (sniffs) to enforce WordPress coding conventions

2.8k42.5M1.6k](/packages/wp-coding-standards-wpcs)[phpcompatibility/phpcompatibility-wp

A ruleset for PHP\_CodeSniffer to check for PHP cross-version compatibility issues in projects, while accounting for polyfills provided by WordPress.

22130.6M587](/packages/phpcompatibility-phpcompatibility-wp)[phpcsstandards/phpcsextra

A collection of sniffs and standards for use with PHP\_CodeSniffer.

10324.3M44](/packages/phpcsstandards-phpcsextra)[acquia/coding-standards

PHP\_CodeSniffer rules (sniffs) for Acquia coding standards

214.8M28](/packages/acquia-coding-standards)[endouble/symfony3-custom-coding-standard

Customized CodeSniffer ruleset for the Symfony3 projects

11108.3k1](/packages/endouble-symfony3-custom-coding-standard)

PHPackages © 2026

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