PHPackages                             genealabs/php-coding-standards - 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. [Utility &amp; Helpers](/categories/utility)
4. /
5. genealabs/php-coding-standards

ActiveLibrary[Utility &amp; Helpers](/categories/utility)

genealabs/php-coding-standards
==============================

0.2.0(4y ago)1654.8k↓45.8%1[1 PRs](https://github.com/GeneaLabs/php-coding-standards/pulls)1MITShellPHP ^8.0

Since Mar 14Pushed 3y agoCompare

[ Source](https://github.com/GeneaLabs/php-coding-standards)[ Packagist](https://packagist.org/packages/genealabs/php-coding-standards)[ RSS](/packages/genealabs-php-coding-standards/feed)WikiDiscussions main Synced 1mo ago

READMEChangelog (10)Dependencies (2)Versions (11)Used By (1)

GeneaLabs PHP Coding Standards
==============================

[](#genealabs-php-coding-standards)

Custom PHPCS sniffs that support all our coding standards.

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

[](#installation)

There are several ways to install this ruleset:

1. Add the following to your composer.json scripts section:

```
"post-update-cmd" : [
    "tools/phpcs --config-set installed_paths vendor/genealabs/php-coding-standards/src/GeneaLabs"
]

```

2. Or add the following to your phpcs.xml file:

```

```

Custom Rules
------------

[](#custom-rules)

### Type Hinting

[](#type-hinting)

- Method Parameter Type Hints
- Method Return Type Hints

### Whitespace

[](#whitespace)

- Empty Lines Acound Control Structures
- Empyt Line Before Returns
- No Mutliple Consecutive Empty Lines

Adopted Rules
-------------

[](#adopted-rules)

- PSR1
- PSR2
- PSR12
    - except: PSR12.Classes.ClassInstantiation.MissingParentheses, as we want to new up classes without parenthesis.
- Internal.NoCodeFound
- Zend.Files.ClosingTag
- Zend.NamingConventions
    - except: Zend.NamingConventions.ValidVariableName.PrivateNoUnderscore, as we want all variables and properties to be in camelCase.

###  Health Score

33

—

LowBetter than 75% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity36

Limited adoption so far

Community9

Small or concentrated contributor base

Maturity54

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.

###  Release Activity

Cadence

Every ~27 days

Recently: every ~57 days

Total

10

Last Release

1642d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/4374bfc5d8583aa8c25c5080f1fcfaf09027822f47724ba6b64abc564945c80a?d=identicon)[mikebronner](/maintainers/mikebronner)

---

Top Contributors

[![mikebronner](https://avatars.githubusercontent.com/u/1791050?v=4)](https://github.com/mikebronner "mikebronner (39 commits)")

### Embed Badge

![Health badge](/badges/genealabs-php-coding-standards/health.svg)

```
[![Health](https://phpackages.com/badges/genealabs-php-coding-standards/health.svg)](https://phpackages.com/packages/genealabs-php-coding-standards)
```

###  Alternatives

[shopsys/coding-standards

Coding standards definition compatible with PSR-2

20269.1k13](/packages/shopsys-coding-standards)

PHPackages © 2026

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