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)0124.8k↑54.4%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 1mo ago

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 80% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity32

Limited adoption so far

Community8

Small or concentrated contributor base

Maturity63

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

2847d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/364c49bfed6fcffa3a2dd53f1812152efe622ac18f4ed7ddfdf4e6c74e23f7f9?d=identicon)[karen-nalbandian](/maintainers/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

[phpcompatibility/php-compatibility

A set of sniffs for PHP\_CodeSniffer that checks for PHP cross-version compatibility.

2.3k74.3M1.3k](/packages/phpcompatibility-php-compatibility)[automattic/vipwpcs

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

25510.2M145](/packages/automattic-vipwpcs)[wptrt/wpthemereview

PHP\_CodeSniffer rules (sniffs) to verify theme compliance with the rules for theme hosting on wordpress.org

217736.5k29](/packages/wptrt-wpthemereview)[yoast/yoastcs

PHP\_CodeSniffer rules for Yoast projects

221.1M29](/packages/yoast-yoastcs)[orisai/coding-standard

Strict PHP coding standard

19193.5k62](/packages/orisai-coding-standard)[joomla/coding-standards

Joomla Coding Standards

129231.7k16](/packages/joomla-coding-standards)

PHPackages © 2026

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