PHPackages                             codappix/cgl-php - 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. codappix/cgl-php

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

codappix/cgl-php
================

Contains PHP\_CodeSniffer rules for php that we like. Uses PSR-2 as base rules.

3.0.0(6y ago)02.1k1GPL-2.0-or-later

Since Mar 15Pushed 6y ago2 watchersCompare

[ Source](https://github.com/Codappix/CGL-PHP)[ Packagist](https://packagist.org/packages/codappix/cgl-php)[ Docs](https://github.com/Codappix/CGL-PHP)[ RSS](/packages/codappix-cgl-php/feed)WikiDiscussions master Synced 4d ago

READMEChangelogDependencies (1)Versions (8)Used By (1)

Coding Guideline for PHP
========================

[](#coding-guideline-for-php)

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

[](#installation)

You have to require the package via composer composer require codappix/cgl-php.

Afterwards, there are multiple ways to install the standard. We recommend to require dealerdirect/phpcodesniffer-composer-installer which handles the installation.

What does it do?
----------------

[](#what-does-it-do)

The goal of this package is to provide our PHP cgl rules, which are based on PSR-12, via composer. The package uses PHP\_CodeSniffer to sniff the configured PHP files and show errors.

How to use
----------

[](#how-to-use)

After installation, the standard is available as CDXPHP.

Current state
-------------

[](#current-state)

This is the initial version of this ruleset. We are currently only using the PSR-12 rules. Custom rules and sniffs will follow when needed.

This is a early version. More information can be taken from Github at [current issues](https://github.com/Codappix/CGL-PHP/issues).

###  Health Score

32

—

LowBetter than 72% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity15

Limited adoption so far

Community12

Small or concentrated contributor base

Maturity68

Established project with proven stability

 Bus Factor1

Top contributor holds 66.7% 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 ~116 days

Recently: every ~145 days

Total

6

Last Release

2402d ago

Major Versions

1.1.0 → 2.0.02018-06-29

2.0.0 → 3.0.02019-10-17

### Community

Maintainers

![](https://www.gravatar.com/avatar/050bb447626bd34a00e655752d99ccff1140ae7ec7d129316819662829e041a3?d=identicon)[codappix](/maintainers/codappix)

---

Top Contributors

[![DanielSiepmann](https://avatars.githubusercontent.com/u/354250?v=4)](https://github.com/DanielSiepmann "DanielSiepmann (6 commits)")[![justusmoroni](https://avatars.githubusercontent.com/u/5197489?v=4)](https://github.com/justusmoroni "justusmoroni (3 commits)")

---

Tags

cglcoding-guidelinesphpphpphpcscgl

### Embed Badge

![Health badge](/badges/codappix-cgl-php/health.svg)

```
[![Health](https://phpackages.com/badges/codappix-cgl-php/health.svg)](https://phpackages.com/packages/codappix-cgl-php)
```

###  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)[yoast/yoastcs

PHP\_CodeSniffer rules for Yoast projects

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

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

17508.3k5](/packages/mayflower-mo4-coding-standard)[kohana/coding-standards

PHP\_CodeSniffer rules for the Kohana Framework coding style

5817.6k](/packages/kohana-coding-standards)

PHPackages © 2026

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