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(8mo ago)07[1 PRs](https://github.com/m0hanraj/phpcs-config/pulls)MITCI passing

Since Sep 4Pushed 8mo 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 1mo ago

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

26

—

LowBetter than 43% of packages

Maintenance60

Regular maintenance activity

Popularity4

Limited adoption so far

Community8

Small or concentrated contributor base

Maturity29

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

257d 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 (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

161424.0k49](/packages/humanmade-coding-standards)[yoast/yoastcs

PHP\_CodeSniffer rules for Yoast projects

221.1M29](/packages/yoast-yoastcs)[woocommerce/woocommerce-sniffs

WooCommerce sniffs

496.8M42](/packages/woocommerce-woocommerce-sniffs)[infinum/eightshift-coding-standards

Eightshift WordPress Coding Standards

1785.2k3](/packages/infinum-eightshift-coding-standards)[syde/phpcs

Syde PHP coding standards for WordPress projects.

1019.7k7](/packages/syde-phpcs)[bjornjohansen/wp-pre-commit-hook

Pre-commit hook for WordPress projects

118.8k3](/packages/bjornjohansen-wp-pre-commit-hook)

PHPackages © 2026

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