PHPackages                             karen-nalbandian/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. karen-nalbandian/symfony-coding-standard

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

karen-nalbandian/symfony-coding-standard
========================================

CodeSniffer ruleset for the Symfony coding standard (PCG Cube flavor)

1.0.0(7y ago)016MITPHP

Since Jul 29Pushed 7y ago1 watchersCompare

[ Source](https://github.com/karen-nalbandian/symfony-coding-standard)[ Packagist](https://packagist.org/packages/karen-nalbandian/symfony-coding-standard)[ Docs](https://github.com/karen-nalbandian/symfony-coding-standard)[ RSS](/packages/karen-nalbandian-symfony-coding-standard/feed)WikiDiscussions master Synced 2d ago

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

Symfony PHP CodeSniffer Coding Standard (PCG Cube flavor)
=========================================================

[](#symfony-php-codesniffer-coding-standard-pcg-cube-flavor)

A coding standard to check against the [Symfony coding standards](http://symfony.com/doc/current/contributing/code/standards.html), based on excellent [escapestudios/symfony2-coding-standard](https://github.com/djoos/Symfony2-coding-standard) repository.

*Important note:* Please be careful using this library, as it is for internal usage, and probably will not be maintained

Differences
-----------

[](#differences)

The following standards has been modified:

- added the Symfony.Commenting.FunctionComment.MissingParamType
- removed the Symfony.Commenting.FunctionComment.SpacingAfterParamType
- removed the Symfony.Commenting.Annotations.Invalid
- removed the Symfony.Functions.Arguments.Invalid
- removed the Squiz.Strings.ConcatenationSpacing.PaddingFound

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 karen-nalbandian/symfony-coding-standard:dev-master

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

    ```
     vendor/bin/phpcs --config-set installed_paths vendor/karen-nalbandian/symfony-coding-standard

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

    ```
     vendor/bin/phpcs -i

    ```
5. Done!

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

    ```

\### Stand-alone

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

    ```
     git clone https://github.com/karen-nalbandian/symfony-coding-standard.git

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

    ```
     phpcs --config-set installed_paths /path/to/symfony-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

26

—

LowBetter than 41% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity6

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity62

Established project with proven stability

 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.

###  Release Activity

Cadence

Unknown

Total

1

Last Release

2894d ago

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/1245752?v=4)[Karen Nalbandian](/maintainers/karen-nalbandian)[@karen-nalbandian](https://github.com/karen-nalbandian)

---

Top Contributors

[![karen-nalbandian-vue](https://avatars.githubusercontent.com/u/39154319?v=4)](https://github.com/karen-nalbandian-vue "karen-nalbandian-vue (1 commits)")

---

Tags

phpcssymfonyCoding StandardPCG Cube

### Embed Badge

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

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

###  Alternatives

[slevomat/coding-standard

Slevomat Coding Standard for PHP\_CodeSniffer complements Consistence Coding Standard by providing sniffs with additional checks.

1.5k134.0M2.2k](/packages/slevomat-coding-standard)[escapestudios/symfony2-coding-standard

CodeSniffer ruleset for the Symfony 2+ coding standard

40611.5M294](/packages/escapestudios-symfony2-coding-standard)[consistence/coding-standard

Consistence - Coding Standard - PHP Code Sniffer rules

79842.7k94](/packages/consistence-coding-standard)[webimpress/coding-standard

Webimpress Coding Standard

152.3M41](/packages/webimpress-coding-standard)[mreduar/laravel-phpcs

PHP Codesniffer ruleset to follow Laravel's coding style

3917.6k1](/packages/mreduar-laravel-phpcs)[endouble/symfony3-custom-coding-standard

Customized CodeSniffer ruleset for the Symfony3 projects

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

PHPackages © 2026

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