PHPackages                             wpscholar/phpcs-standards-installer - 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. wpscholar/phpcs-standards-installer

ActiveComposer-plugin[Testing &amp; Quality](/categories/testing)

wpscholar/phpcs-standards-installer
===================================

A custom Composer installer for PHP Code Sniffer standards.

1.0(7y ago)0291GPL-2.0-or-laterPHP

Since Nov 21Pushed 7y ago1 watchersCompare

[ Source](https://github.com/wpscholar/phpcs-standards-installer)[ Packagist](https://packagist.org/packages/wpscholar/phpcs-standards-installer)[ RSS](/packages/wpscholar-phpcs-standards-installer/feed)WikiDiscussions master Synced yesterday

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

PHP Code Sniffer Standards Installer
====================================

[](#php-code-sniffer-standards-installer)

A Composer plugin that properly registers PHP Code Sniffer standards. Visit the [PHP Code Sniffer coding standard tutorial](https://github.com/squizlabs/PHP_CodeSniffer/wiki/Coding-Standard-Tutorial) to find out more about creating custom coding standards/rulesets.

Create an Installable Coding Standard
-------------------------------------

[](#create-an-installable-coding-standard)

1. Create a repository for hosting your PHP Code Sniffer coding standard.
2. Set the type as `phpcs-standards` in your composer.json file.
3. Require PHP Code Sniffer and this installer as dependencies in your composer.json file:

```
    "type": "phpcs-standards",
    "require": {
        "squizlabs/php_codesniffer": "^2.9.2",
        "wpscholar/phpcs-standards-installer": "^1.0"
    }
```

Usage
-----

[](#usage)

- Require any Composer package of type `phpcs-standards`.
- Optionally add any PHP Code Sniffer config options to the `extra` section in your composer.json file

```
    "require": {
      "wpscholar/phpcs-standards-wpscholar": "^1.0"
    },
    "extra": {
        "phpcs-config": {
            "default_standard": "WPScholar",
            "testVersion": "5.4-"
        }
    }
```

- Run `composer install`!

IDE Integration
---------------

[](#ide-integration)

Some IDE integrations of PHPCS will fail to register your ruleset since it doesn't live in your project root. In order to rectify this, place phpcs.xml at your project root:

```

```

###  Health Score

28

—

LowBetter than 54% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity11

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity61

Established project with proven stability

 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

2730d ago

### Community

Maintainers

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

---

Top Contributors

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

### Embed Badge

![Health badge](/badges/wpscholar-phpcs-standards-installer/health.svg)

```
[![Health](https://phpackages.com/badges/wpscholar-phpcs-standards-installer/health.svg)](https://phpackages.com/packages/wpscholar-phpcs-standards-installer)
```

###  Alternatives

[phpro/grumphp

A composer plugin that enables source code quality checks.

4.3k15.5M904](/packages/phpro-grumphp)[dealerdirect/phpcodesniffer-composer-installer

PHP\_CodeSniffer Standards Composer Installer Plugin

596161.9M1.9k](/packages/dealerdirect-phpcodesniffer-composer-installer)[codeception/c3

CodeCoverage collector for Codeception

745.3M51](/packages/codeception-c3)[digitalrevolution/php-codesniffer-baseline

Digital Revolution PHP\_Codesniffer baseline extension

18923.6k4](/packages/digitalrevolution-php-codesniffer-baseline)[axelerant/drupal-quality-checker

Code quality checking tools for Drupal project.

13197.9k1](/packages/axelerant-drupal-quality-checker)[youwe/testing-suite

Contains Youwe's default testing packages for php.

13176.9k8](/packages/youwe-testing-suite)

PHPackages © 2026

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