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

ActivePhpcs-standard

agentsib/symfony2-coding-standard
=================================

Symfony2 PHP CodeSniffer Coding Standard

1.0.1(9y ago)0115MITPHP

Since Aug 27Pushed 9y ago1 watchersCompare

[ Source](https://github.com/agentsib/Symfony2-coding-standard)[ Packagist](https://packagist.org/packages/agentsib/symfony2-coding-standard)[ RSS](/packages/agentsib-symfony2-coding-standard/feed)WikiDiscussions master Synced 5d ago

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

Symfony2 PHP CodeSniffer Coding Standard
========================================

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

A code standard to check against the [Symfony coding standards](http://symfony.com/doc/current/contributing/code/standards.html)

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

[](#installation)

1. Install phpcs:

    ```
     pear install PHP_CodeSniffer

    ```
2. Find your PEAR directory:

    ```
     pear config-show | grep php_dir

    ```
3. Copy, symlink or check out this repo to a folder called Symfony2 inside the phpcs `Standards` directory:

    ```
     cd /path/to/pear/PHP/CodeSniffer/Standards
     git clone git://github.com/opensky/Symfony2-coding-standard.git Symfony2

    ```
4. Set Symfony2 as your default coding standard:

    ```
     phpcs --config-set default_standard Symfony2

    ```
5. ...
6. Profit!

    ```
     cd /path/to/my/project
     phpcs
     phpcs path/to/my/file.php

    ```

Contributing
------------

[](#contributing)

If you do contribute code to these sniffs, please make sure it conforms to the PEAR coding standard and that the Symfony2-coding-standard unit tests still pass.

To check the coding standard, run from the Symfony2-coding-standard source root:

```
$ phpcs --ignore=*/tests/* --standard=PEAR . -n

```

The unit-tests are run from within the PHP\_CodeSniffer directory:

```
$ phpunit --filter Symfony2_* tests/AllTests.php

```

###  Health Score

30

—

LowBetter than 64% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity10

Limited adoption so far

Community17

Small or concentrated contributor base

Maturity64

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

Total

2

Last Release

3615d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/1bb08551e2cca1a2ce3f792c36ba88dd12ca69d296283d98d2a7f8d1173be205?d=identicon)[AgentSIB](/maintainers/AgentSIB)

---

Top Contributors

[![bobthecow](https://avatars.githubusercontent.com/u/53660?v=4)](https://github.com/bobthecow "bobthecow (25 commits)")[![davehauenstein](https://avatars.githubusercontent.com/u/11996?v=4)](https://github.com/davehauenstein "davehauenstein (5 commits)")[![lapistano](https://avatars.githubusercontent.com/u/95115?v=4)](https://github.com/lapistano "lapistano (5 commits)")[![francisbesset](https://avatars.githubusercontent.com/u/471525?v=4)](https://github.com/francisbesset "francisbesset (4 commits)")[![agentsib](https://avatars.githubusercontent.com/u/1577055?v=4)](https://github.com/agentsib "agentsib (3 commits)")[![ktomk](https://avatars.githubusercontent.com/u/352517?v=4)](https://github.com/ktomk "ktomk (2 commits)")[![pborreli](https://avatars.githubusercontent.com/u/77759?v=4)](https://github.com/pborreli "pborreli (2 commits)")[![pvankouteren](https://avatars.githubusercontent.com/u/1055598?v=4)](https://github.com/pvankouteren "pvankouteren (2 commits)")[![AD7six](https://avatars.githubusercontent.com/u/33387?v=4)](https://github.com/AD7six "AD7six (1 commits)")[![xgorse](https://avatars.githubusercontent.com/u/117971?v=4)](https://github.com/xgorse "xgorse (1 commits)")[![asm89](https://avatars.githubusercontent.com/u/657357?v=4)](https://github.com/asm89 "asm89 (1 commits)")[![fabpot](https://avatars.githubusercontent.com/u/47313?v=4)](https://github.com/fabpot "fabpot (1 commits)")[![fbrandt](https://avatars.githubusercontent.com/u/1192066?v=4)](https://github.com/fbrandt "fbrandt (1 commits)")[![kuczek](https://avatars.githubusercontent.com/u/2432505?v=4)](https://github.com/kuczek "kuczek (1 commits)")[![merk](https://avatars.githubusercontent.com/u/278097?v=4)](https://github.com/merk "merk (1 commits)")[![qpleple](https://avatars.githubusercontent.com/u/774546?v=4)](https://github.com/qpleple "qpleple (1 commits)")[![robocoder](https://avatars.githubusercontent.com/u/922051?v=4)](https://github.com/robocoder "robocoder (1 commits)")

---

Tags

phpcsSymfony2standardcodesniffer

###  Code Quality

Code StylePHP\_CodeSniffer

### Embed Badge

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

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

###  Alternatives

[dealerdirect/phpcodesniffer-composer-installer

PHP\_CodeSniffer Standards Composer Installer Plugin

596161.9M1.9k](/packages/dealerdirect-phpcodesniffer-composer-installer)[escapestudios/symfony2-coding-standard

CodeSniffer ruleset for the Symfony 2+ coding standard

40611.1M275](/packages/escapestudios-symfony2-coding-standard)[consistence/coding-standard

Consistence - Coding Standard - PHP Code Sniffer rules

75833.3k94](/packages/consistence-coding-standard)[moodlehq/moodle-cs

Moodle Coding Sniffer rules

242.8M5](/packages/moodlehq-moodle-cs)[spryker/code-sniffer

Spryker Code Sniffer Standards

374.1M2.3k](/packages/spryker-code-sniffer)[phpmyadmin/coding-standard

phpMyAdmin PHP\_CodeSniffer Coding Standard

201.2M7](/packages/phpmyadmin-coding-standard)

PHPackages © 2026

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