PHPackages                             m0hanraj/phpmd-config - 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. m0hanraj/phpmd-config

ActivePhpmd-standard[Utility &amp; Helpers](/categories/utility)

m0hanraj/phpmd-config
=====================

PHPMD configuration for WordPress VIP plugins and themes

v0.1.0(8mo ago)05MITCI passing

Since Sep 4Pushed 8mo agoCompare

[ Source](https://github.com/m0hanraj/phpmd-config)[ Packagist](https://packagist.org/packages/m0hanraj/phpmd-config)[ RSS](/packages/m0hanraj-phpmd-config/feed)WikiDiscussions main Synced 1mo ago

READMEChangelog (1)Dependencies (1)Versions (2)Used By (0)

phpmd-config
============

[](#phpmd-config)

This library contains PHPMD configuration for WordPress plugins and themes.

### Minimal requirements

[](#minimal-requirements)

- PHP 8.2

Development setup
-----------------

[](#development-setup)

To build the package

PHP setup

- `composer install`

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

[](#installation)

Composer install:

```
composer require --dev m0hanraj/phpmd-config
```

Usage
-----

[](#usage)

### Using the ruleset

[](#using-the-ruleset)

Create a `phpmd.xml.dist` file in your project and add the following:

```

```

### Usage with Composer

[](#usage-with-composer)

Add the following to `scripts` section in `composer.json` file and run `composer phpmd`, make sure to update the directory and file names accordingly.

```
"phpmd": "phpmd plugin.php,includes text phpmd.xml.dist --color"
```

Add the following to generate baseline file for existing plugins and run `composer phpmd-baseline`, make sure to update the directory and file names accordingly.

```
"phpmd-baseline": "phpmd plugin.php,includes text phpmd.xml.dist --generate-baseline"
```

Tagging and releasing
---------------------

[](#tagging-and-releasing)

The content schema uses Semantic Versioning `semver` for versioning. The package is released using [GitHub Releases](https://docs.github.com/en/github/administering-a-repository/releasing-projects-on-github/about-releases). The release process is automated in Circle CI build step. To create a new release, follow these steps:

- Update the relevant files with the new version. Commit the updated files.
- Push the changes to the `main` branch, by merging the associated pull request
- Create a release targeting the `main` branch within GitHub.

###  Health Score

25

—

LowBetter than 37% of packages

Maintenance61

Regular maintenance activity

Popularity4

Limited adoption so far

Community6

Small or concentrated contributor base

Maturity25

Early-stage or recently created project

 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

Unknown

Total

1

Last Release

248d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/44a340a50f8a16895033840e8cecbcd4ca91e04da023c59c8d289105e9c367d2?d=identicon)[m0hanraj](/maintainers/m0hanraj)

---

Top Contributors

[![mohanrajpac](https://avatars.githubusercontent.com/u/19469816?v=4)](https://github.com/mohanrajpac "mohanrajpac (2 commits)")

### Embed Badge

![Health badge](/badges/m0hanraj-phpmd-config/health.svg)

```
[![Health](https://phpackages.com/badges/m0hanraj-phpmd-config/health.svg)](https://phpackages.com/packages/m0hanraj-phpmd-config)
```

PHPackages © 2026

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