PHPackages                             woohoolabs/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. [Validation &amp; Sanitization](/categories/validation)
4. /
5. woohoolabs/coding-standard

ActivePhpcodesniffer-standard[Validation &amp; Sanitization](/categories/validation)

woohoolabs/coding-standard
==========================

Woohoo Labs. PHP Coding Standard

2.4.0(2y ago)315.5k↓33.3%9MITMakefilePHP ^7.4.0||^8.0.0

Since Dec 21Pushed 2y ago2 watchersCompare

[ Source](https://github.com/woohoolabs/coding-standard)[ Packagist](https://packagist.org/packages/woohoolabs/coding-standard)[ RSS](/packages/woohoolabs-coding-standard/feed)WikiDiscussions master Synced 1mo ago

READMEChangelog (10)Dependencies (4)Versions (12)Used By (9)

Woohoo Labs. PHP Coding Standard
================================

[](#woohoo-labs-php-coding-standard)

[![Latest Version on Packagist](https://camo.githubusercontent.com/c3941654d90308e78d1faa4a2d81529bb830ca1cdd5083dacc413417e28b0bf3/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f776f6f686f6f6c6162732f636f64696e672d7374616e646172642e737667)](https://packagist.org/packages/woohoolabs/coding-standard)[![Software License](https://camo.githubusercontent.com/074b89bca64d3edc93a1db6c7e3b1636b874540ba91d66367c0e5e354c56d0ea/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f6c6963656e73652d4d49542d627269676874677265656e2e737667)](LICENSE)[![Total Downloads](https://camo.githubusercontent.com/a638d26671c2232429e3c3d486a0cececbf04d23941165e08c9afb3a88d4f8c2/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f776f6f686f6f6c6162732f636f64696e672d7374616e646172642e737667)](https://packagist.org/packages/woohoolabs/coding-standard)

**Woohoo Labs. PHP Coding Standard based on PSR-12, Doctrine, and Slevomat Coding Standards**

Table of Contents
-----------------

[](#table-of-contents)

- [Introduction](#introduction)
- [Install](#install)
- [Usage](#basic-usage)
- [Versioning](#versioning)
- [Change Log](#change-log)
- [Contributing](#contributing)
- [Support](#support)
- [Credits](#credits)
- [License](#license)

Introduction
------------

[](#introduction)

This library provides the Woohoo Labs. Coding Standard rules for PHP CodeSniffer. It is inspired by and built upon the [Doctrine Coding Standard](https://github.com/doctrine/coding-standard) and the [Slevomat Coding Standard](https://github.com/slevomat/coding-standard).

Install
-------

[](#install)

The only thing you need before getting started is [Composer](https://getcomposer.org).

### Install PHP Coding Standard:

[](#install-php-coding-standard)

To install the latest version of this library, run the command below:

```
$ composer require woohoolabs/coding-standard
```

The latest version of PHP Coding Standard requires PHP 7.4 at least.

Usage
-----

[](#usage)

Just add the default `phpcs.xml` file (it can be found in the root directory) to your project and you are ready to use the Woohoo Labs. Coding Standard when running `phpcs`.

Versioning
----------

[](#versioning)

This library follows [SemVer v2.0.0](https://semver.org/).

Change Log
----------

[](#change-log)

Please see [CHANGELOG](CHANGELOG.md) for more information on recent changes.

Contributing
------------

[](#contributing)

Please see [CONTRIBUTING](CONTRIBUTING.md) for details.

Support
-------

[](#support)

Please see [SUPPORT](SUPPORT.md) for details.

Credits
-------

[](#credits)

- [Máté Kocsis](https://github.com/kocsismate)
- [All Contributors](../../contributors)

License
-------

[](#license)

The MIT License (MIT). Please see the [License File](LICENSE) for more information.

###  Health Score

37

—

LowBetter than 83% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity27

Limited adoption so far

Community16

Small or concentrated contributor base

Maturity72

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 ~169 days

Recently: every ~352 days

Total

11

Last Release

1009d ago

Major Versions

1.1.2 → 2.0.02019-08-22

PHP version history (3 changes)1.0.0PHP ^7.1.0

2.0.0PHP ^7.4.0

2.2.0PHP ^7.4.0||^8.0.0

### Community

Maintainers

![](https://www.gravatar.com/avatar/b84c2c00735d2c7408e53566b0a622d39998be610bc02856e1b887d40f7a8024?d=identicon)[woohoolabs](/maintainers/woohoolabs)

---

Top Contributors

[![kocsismate](https://avatars.githubusercontent.com/u/6057627?v=4)](https://github.com/kocsismate "kocsismate (40 commits)")

---

Tags

coding-standardphpcsphpcs-standardCoding Standardphp-csWoohoo Labs.

### Embed Badge

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

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

###  Alternatives

[drupal/coder

Coder is a library to review Drupal code.

3043.6M461](/packages/drupal-coder)[yoast/yoastcs

PHP\_CodeSniffer rules for Yoast projects

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

Tuned &amp; very strict coding standards for PHP projects. Trusted by Contributte, Apitte, Nettrine and many others.

13497.1k13](/packages/ninjify-coding-standard)[leroy-merlin-br/coding-standard

The coding standard for PHP projects on LMBR

2137.0k10](/packages/leroy-merlin-br-coding-standard)

PHPackages © 2026

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