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

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

karen-nalbandian/phalcon-coding-standard
========================================

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

1.0.2(7y ago)0135.6k↓30.9%1[1 PRs](https://github.com/karen-nalbandian/phalcon-coding-standard/pulls)MITPHP

Since Jul 29Pushed 7y ago1 watchersCompare

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

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

Phalcon PHP CodeSniffer Coding Standard (PCGuard flavor)
========================================================

[](#phalcon-php-codesniffer-coding-standard-pcguard-flavor)

A coding standard to check against the [Phalcon coding standards](https://github.com/framgia/coding-standards/blob/master/eng/php/phalcon.md), with slight modifications.

*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 Phalcon.Commenting.FunctionComment.MissingParamType
- removed the Phalcon.Commenting.FunctionComment.SpacingAfterParamType
- removed the Phalcon.Commenting.Annotations.Invalid
- removed the Phalcon.Functions.Arguments.Invalid
- removed the Squiz.Strings.ConcatenationSpacing.PaddingFound
- removed the PSR2.Classes.PropertyDeclaration.Underscore
- removed the Zend.NamingConventions.ValidVariableName.ContainsNumbers
- removed the Zend.NamingConventions.ValidVariableName.MemberVarContainsNumbers

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/phalcon-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/phalcon-coding-standard

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

    ```
     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/phalcon-coding-standard.git

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

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

    ```

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

    ```
     phpcs -i

    ```
5. Done!

    ```
     phpcs /path/to/code

    ```

###  Health Score

35

—

LowBetter than 77% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity33

Limited adoption so far

Community8

Small or concentrated contributor base

Maturity64

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

Every ~2 days

Total

2

Last Release

2895d 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 (6 commits)")

---

Tags

phpcsCoding StandardPCG CubePhalcon PHP

### Embed Badge

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

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

###  Alternatives

[orisai/coding-standard

Strict PHP coding standard

20199.0k68](/packages/orisai-coding-standard)[yoast/yoastcs

PHP\_CodeSniffer rules for Yoast projects

221.2M34](/packages/yoast-yoastcs)[mayflower/mo4-coding-standard

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

17534.2k7](/packages/mayflower-mo4-coding-standard)

PHPackages © 2026

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