PHPackages                             zgldh/phpmd-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. [Utility &amp; Helpers](/categories/utility)
4. /
5. zgldh/phpmd-base-ruleset

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

zgldh/phpmd-base-ruleset
========================

The PHPMD ruleset for my projects

v0.0.3(7y ago)09MITPHP &gt;=7.0.0

Since Jan 3Pushed 7y ago1 watchersCompare

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

READMEChangelog (3)Dependencies (1)Versions (4)Used By (0)

phpmd-base-ruleset
==================

[](#phpmd-base-ruleset)

PHPMD base ruleset

Usage
-----

[](#usage)

1. `composer require zgldh/phpmd-base-ruleset`
2. `cp vendor/zgldh/phpmd-base-ruleset/ruleset.template.xml ./phpmd_ruleset.xml`
3. `vendor/bin/phpmd ./ xml phpmd_ruleset.xml --suffixes php --reportfile phpmd_report.xml`

You can integrate PHPMD into Jenkins or other CI/CD tools.

###  Health Score

22

—

LowBetter than 21% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity4

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity48

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

3

Last Release

2734d 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 (4 commits)")

---

Tags

phpmd

### Embed Badge

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

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

###  Alternatives

[ec-europa/toolkit

Toolkit packaged for Drupal projects based on Robo.

39250.0k28](/packages/ec-europa-toolkit)

PHPackages © 2026

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