PHPackages                             zgldh/phpcs-base-ruleset - 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. zgldh/phpcs-base-ruleset

ActiveLibrary

zgldh/phpcs-base-ruleset
========================

The PHP\_CodeSniffer ruleset for my projects

v0.0.12(7y ago)027MITPHP &gt;=7.0.0

Since Dec 29Pushed 7y ago1 watchersCompare

[ Source](https://github.com/zgldh/phpcs-base-ruleset)[ Packagist](https://packagist.org/packages/zgldh/phpcs-base-ruleset)[ RSS](/packages/zgldh-phpcs-base-ruleset/feed)WikiDiscussions master Synced 2mo ago

READMEChangelog (10)Dependencies (1)Versions (13)Used By (0)

phpcs-base-ruleset
==================

[](#phpcs-base-ruleset)

A PHP CodeSniffer basic ruleset for my projects

Usage
-----

[](#usage)

1. `composer require zgldh/phpcs-base-ruleset`
2. `cp vendor/zgldh/phpcs-base-ruleset/ruleset.template.xml ./ruleset.xml`
3. `vendor/bin/phpcs --standard=ruleset.xml`

You can integrate PHP\_CodeSniffer into Jenkins or other CI/CD tools.

###  Health Score

24

—

LowBetter than 32% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity7

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity53

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

Total

12

Last Release

2695d ago

### Community

Maintainers

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

---

Top Contributors

[![zgldh](https://avatars.githubusercontent.com/u/312404?v=4)](https://github.com/zgldh "zgldh (21 commits)")

---

Tags

phpcodesniffer

### Embed Badge

![Health badge](/badges/zgldh-phpcs-base-ruleset/health.svg)

```
[![Health](https://phpackages.com/badges/zgldh-phpcs-base-ruleset/health.svg)](https://phpackages.com/packages/zgldh-phpcs-base-ruleset)
```

###  Alternatives

[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)[moodlehq/moodle-cs

Moodle Coding Sniffer rules

242.8M5](/packages/moodlehq-moodle-cs)[h4cc/phpqatools

A meta composer package for PHP QA Tools.

6418.6k1](/packages/h4cc-phpqatools)

PHPackages © 2026

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