PHPackages                             oneserv/phpcs-rules - 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. oneserv/phpcs-rules

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

oneserv/phpcs-rules
===================

Oneserv phpcs rules.

v3.1.0(3y ago)04.6k[3 PRs](https://github.com/oneserv/phpcs-rules/pulls)1MITPHP ^8.1CI failing

Since Apr 12Pushed 1mo agoCompare

[ Source](https://github.com/oneserv/phpcs-rules)[ Packagist](https://packagist.org/packages/oneserv/phpcs-rules)[ Docs](https://github.com/oneserv/phpcs-rules)[ RSS](/packages/oneserv-phpcs-rules/feed)WikiDiscussions main Synced 1w ago

READMEChangelog (4)Dependencies (5)Versions (17)Used By (1)

phpcs-rules - Opionated ruleset for [PHP\_CodeSniffer](https://github.com/squizlabs/PHP_CodeSniffer)
====================================================================================================

[](#phpcs-rules---opionated-ruleset-for-php_codesniffer)

[![Latest Stable Version](https://camo.githubusercontent.com/0d4c3059b46322a8bc3ea36ade4adf7a8219deb5c536d3510102c36f83cea37c/687474703a2f2f706f7365722e707567782e6f72672f6f6e65736572762f70687063732d72756c65732f76)](https://packagist.org/packages/oneserv/phpcs-rules)[![License](https://camo.githubusercontent.com/a0294bc5f0f7a3f0f3f9b9bc6b1ef9ef216b0c4f17f2b50af3c33a8d4b8dd3ed/687474703a2f2f706f7365722e707567782e6f72672f6f6e65736572762f70687063732d72756c65732f6c6963656e7365)](https://packagist.org/packages/oneserv/phpcs-rules)[![PHP Version Require](https://camo.githubusercontent.com/cd9c3df284e40544a8c8019cd2d9ede2cf5e0e81d77174d54f9d70c01a46f364/687474703a2f2f706f7365722e707567782e6f72672f6f6e65736572762f70687063732d72756c65732f726571756972652f706870)](https://packagist.org/packages/oneserv/phpcs-rules)[![Total Downloads](https://camo.githubusercontent.com/5ee64ee26a0e168aa289d1400f4ee0ab3037ee3ce6d3e11e408500d442185c7e/687474703a2f2f706f7365722e707567782e6f72672f6f6e65736572762f70687063732d72756c65732f646f776e6c6f616473)](https://packagist.org/packages/oneserv/phpcs-rules)

An opinionated ruleset for phpcs.

Usage
-----

[](#usage)

Installation via composer:
`composer require --dev oneserv/phpcs-rules`

###  Health Score

43

—

FairBetter than 91% of packages

Maintenance60

Regular maintenance activity

Popularity20

Limited adoption so far

Community10

Small or concentrated contributor base

Maturity69

Established project with proven stability

 Bus Factor1

Top contributor holds 83.3% 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 ~46 days

Recently: every ~81 days

Total

12

Last Release

1355d ago

Major Versions

v1.4.2 → v2.0.02022-06-22

v2.0.0 → v3.0.02022-08-31

PHP version history (3 changes)v1.2.0PHP ^7.4

v1.3.0PHP ^7.4|^8.0

v3.0.0PHP ^8.1

### Community

Maintainers

![](https://www.gravatar.com/avatar/675bdf47ff4071b9090a5c30efb71e1499bb0ddd2b2c66b5f5507921f290836a?d=identicon)[oneserv-web](/maintainers/oneserv-web)

---

Top Contributors

[![t-heuser](https://avatars.githubusercontent.com/u/53174153?v=4)](https://github.com/t-heuser "t-heuser (5 commits)")[![renovate[bot]](https://avatars.githubusercontent.com/in/2740?v=4)](https://github.com/renovate[bot] "renovate[bot] (1 commits)")

---

Tags

phpphpcsrulesetstatic-analysisstatic-code-analysisphpcsruleset

### Embed Badge

![Health badge](/badges/oneserv-phpcs-rules/health.svg)

```
[![Health](https://phpackages.com/badges/oneserv-phpcs-rules/health.svg)](https://phpackages.com/packages/oneserv-phpcs-rules)
```

###  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)[slevomat/coding-standard

Slevomat Coding Standard for PHP\_CodeSniffer complements Consistence Coding Standard by providing sniffs with additional checks.

1.5k123.5M1.8k](/packages/slevomat-coding-standard)[automattic/vipwpcs

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

25510.2M145](/packages/automattic-vipwpcs)[mayflower/mo4-coding-standard

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

17508.3k5](/packages/mayflower-mo4-coding-standard)[drupal/coder

Coder is a library to review Drupal code.

3043.6M461](/packages/drupal-coder)[wptrt/wpthemereview

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

217736.5k29](/packages/wptrt-wpthemereview)

PHPackages © 2026

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