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

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

dngb/phalcon-coding-standard
============================

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

062.1k1PHP

Since Aug 15Pushed 7y agoCompare

[ Source](https://github.com/dngb/phalcon-coding-standard)[ Packagist](https://packagist.org/packages/dngb/phalcon-coding-standard)[ RSS](/packages/dngb-phalcon-coding-standard/feed)WikiDiscussions master Synced 3d ago

READMEChangelogDependenciesVersions (1)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

Project fork from: () + exclude NamingConventions.ValidVariableName.NotCamelCaps

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
- removed the Zend.NamingConventions.ValidVariableName.NotCamelCaps
- removed the Generic.Files.LineEndings.InvalidEOLChar

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 dngb/phalcon-coding-standard:dev-master

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

    ```
     vendor/bin/phpcs --config-set installed_paths vendor/dngb/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/dngb/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

26

—

LowBetter than 43% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity28

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity40

Maturing project, gaining track record

 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.

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/42139685?v=4)[DNGB](/maintainers/dngb)[@dngb](https://github.com/dngb)

---

Top Contributors

[![robert-abram](https://avatars.githubusercontent.com/u/42139604?v=4)](https://github.com/robert-abram "robert-abram (9 commits)")

### Embed Badge

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

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

###  Alternatives

[phpdocumentor/type-resolver

A PSR-5 based resolver of Class names, Types and Structural Element Names

9.2k719.5M166](/packages/phpdocumentor-type-resolver)[pimple/pimple

Pimple, a simple Dependency Injection Container

2.7k130.5M1.4k](/packages/pimple-pimple)[league/container

A fast and intuitive dependency injection container.

86387.8M343](/packages/league-container)[stella-maris/clock

A pre-release of the proposed PSR-20 Clock-Interface

7947.5M2](/packages/stella-maris-clock)[wptrt/wpthemereview

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

217736.5k29](/packages/wptrt-wpthemereview)[inpsyde/modularity

Modular PSR-11 implementation for WordPress plugins, themes or libraries.

54383.3k3](/packages/inpsyde-modularity)

PHPackages © 2026

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