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

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

m0hanraj/phpcs-config
=====================

PHPCS configuration for WordPress VIP plugins and themes

v0.2.1(10mo ago)08[1 PRs](https://github.com/m0hanraj/phpcs-config/pulls)MITCI passing

Since Sep 4Pushed 10mo agoCompare

[ Source](https://github.com/m0hanraj/phpcs-config)[ Packagist](https://packagist.org/packages/m0hanraj/phpcs-config)[ RSS](/packages/m0hanraj-phpcs-config/feed)WikiDiscussions main Synced today

READMEChangelog (4)Dependencies (7)Versions (6)Used By (0)

phpcs-config
============

[](#phpcs-config)

This library contains WordPress VIP PHPCS configuration.

Architecture
------------

[](#architecture)

### Project Structure

[](#project-structure)

```
- .circleci          # CircleCI pipeline configuration files
- .github            # GitHub configuration files
- WPDev             # WPDev phpcs rulesets

```

Technical Documentation
-----------------------

[](#technical-documentation)

- [Package Extensibility](docs/extensibility.md)

Contribution
------------

[](#contribution)

More details on how to contribute to this package can be found in the [CONTRIBUTING.md](docs/CONTRIBUTING.md) file.

### Minimal requirements

[](#minimal-requirements)

- PHP 8.2
- WordPress 6.2

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

[](#development-setup)

To build the package

PHP setup

- `composer install`

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

[](#installation)

Composer install:

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

Usage
-----

[](#usage)

### Using the ruleset

[](#using-the-ruleset)

Create a `phpcs.xml.dist` file in your project and add the following to use `WPDev` ruleset:

```

```

### Usage with Composer

[](#usage-with-composer)

Add the following to `scripts` section in `composer.json` file to run linting.

```
"lint": "phpcs .",
"lint:fix": "phpcbf .",
```

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 35% of packages

Maintenance55

Moderate activity, may be stable

Popularity4

Limited adoption so far

Community8

Small or concentrated contributor base

Maturity30

Early-stage or recently created project

 Bus Factor1

Top contributor holds 75% 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

4

Last Release

302d ago

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/36844205?v=4)[Mohan Raj](/maintainers/m0hanraj)[@m0hanraj](https://github.com/m0hanraj)

---

Top Contributors

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

### Embed Badge

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

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

###  Alternatives

[humanmade/coding-standards

Human Made Coding Standards

160443.1k59](/packages/humanmade-coding-standards)[wp-cli/wp-cli-tests

WP-CLI testing framework

423.1M142](/packages/wp-cli-wp-cli-tests)[infinum/eightshift-coding-standards

Eightshift WordPress Coding Standards

1790.9k6](/packages/infinum-eightshift-coding-standards)[yoast/yoastcs

PHP\_CodeSniffer rules for Yoast projects

221.2M34](/packages/yoast-yoastcs)

PHPackages © 2026

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