PHPackages                             lipsia/phpcs-wp-plugin-standard - 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. [Testing &amp; Quality](/categories/testing)
4. /
5. lipsia/phpcs-wp-plugin-standard

ActivePhpcodesniffer-standard[Testing &amp; Quality](/categories/testing)

lipsia/phpcs-wp-plugin-standard
===============================

A custom phpcs ruleset for WordPress plugin development.

1.5.0(4y ago)1483MITPHP ^7.3

Since Feb 5Pushed 4y ago3 watchersCompare

[ Source](https://github.com/lipsia/phpcs-wp-plugin-standard)[ Packagist](https://packagist.org/packages/lipsia/phpcs-wp-plugin-standard)[ Docs](https://github.com/lipsia/phpcs-wp-plugin-standard)[ RSS](/packages/lipsia-phpcs-wp-plugin-standard/feed)WikiDiscussions master Synced 1w ago

READMEChangelogDependencies (5)Versions (10)Used By (0)

Lipsia Digital's WordPress plugin development standard
======================================================

[](#lipsia-digitals-wordpress-plugin-development-standard)

This is a superset of the [NeutronStandard](https://github.com/Automattic/phpcs-neutron-standard) and [PSR12](https://www.php-fig.org/psr/psr-12/) with some modifications.

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

[](#installation)

```
composer require --dev squizlabs/php_codesniffer dealerdirect/phpcodesniffer-composer-installer
composer require --dev lipsia/phpcs-wp-plugin-standard
```

Usage
-----

[](#usage)

In your project's ruleset file, enable this ruleset by setting the `` tag.

Minimal *phpcs.xml.dist*:

```

```

Or without a file:

```
./vendor/bin/phpcs --standard=LDWordPressPlugin .
```

Opinions
--------

[](#opinions)

This ruleset is opinionated and that is a good thing.

### Rules that MUST NOT be changed

[](#rules-that-must-not-be-changed)

- main plugin file is in *./plugin.php*
- all other plugin files are autoloaded from *./src/*
- composer dependencies are in *./vendor/*
- convert tabs to 4 spaces

### Rules that CAN be changed

[](#rules-that-can-be-changed)

- use colors in report
- look into all files with extension *php*
- check 8 files in parallel

###  Health Score

27

—

LowBetter than 49% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity14

Limited adoption so far

Community8

Small or concentrated contributor base

Maturity57

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

Recently: every ~156 days

Total

8

Last Release

1670d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/d83d77ecac379eafe80e19fbe6e3e0a82fa419b1d160aa65c19e9155f8bc9cdd?d=identicon)[kingkero](/maintainers/kingkero)

---

Top Contributors

[![kingkero](https://avatars.githubusercontent.com/u/2728418?v=4)](https://github.com/kingkero "kingkero (47 commits)")

---

Tags

phpcswordpresswordpress plugin

###  Code Quality

Code StylePHP\_CodeSniffer

### Embed Badge

![Health badge](/badges/lipsia-phpcs-wp-plugin-standard/health.svg)

```
[![Health](https://phpackages.com/badges/lipsia-phpcs-wp-plugin-standard/health.svg)](https://phpackages.com/packages/lipsia-phpcs-wp-plugin-standard)
```

###  Alternatives

[wp-coding-standards/wpcs

PHP\_CodeSniffer rules (sniffs) to enforce WordPress coding conventions

2.7k42.5M1.6k](/packages/wp-coding-standards-wpcs)[slevomat/coding-standard

Slevomat Coding Standard for PHP\_CodeSniffer complements Consistence Coding Standard by providing sniffs with additional checks.

1.5k123.5M1.8k](/packages/slevomat-coding-standard)[phpcompatibility/phpcompatibility-wp

A ruleset for PHP\_CodeSniffer to check for PHP cross-version compatibility issues in projects, while accounting for polyfills provided by WordPress.

21830.6M587](/packages/phpcompatibility-phpcompatibility-wp)[wp-cli/wp-cli-tests

WP-CLI testing framework

422.7M87](/packages/wp-cli-wp-cli-tests)[axepress/wp-graphql-cs

PHP\_CodeSniffer rules (sniffs) for the WPGraphQL ecosystem.

1060.9k7](/packages/axepress-wp-graphql-cs)[infinum/eightshift-coding-standards

Eightshift WordPress Coding Standards

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

PHPackages © 2026

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