PHPackages                             php-pp/code-sniffer - 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. php-pp/code-sniffer

ActiveLibrary

php-pp/code-sniffer
===================

Code styles for PHP++

011[1 PRs](https://github.com/php-pp/code-sniffer/pulls)PHP

Since Sep 12Pushed 4y ago1 watchersCompare

[ Source](https://github.com/php-pp/code-sniffer)[ Packagist](https://packagist.org/packages/php-pp/code-sniffer)[ RSS](/packages/php-pp-code-sniffer/feed)WikiDiscussions master Synced 1w ago

READMEChangelogDependenciesVersions (1)Used By (0)

[![version](https://camo.githubusercontent.com/11ae7d0e382b2c0533e52c6db785b5d01f10fb8c9bc6f2c805e6416df2f01635/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f76657273696f6e2d342e322e302d677265656e2e737667)](https://github.com/php-pp/code-sniffer/tree/4.2.0)[![php](https://camo.githubusercontent.com/2dcf2757d7a2ae7d144c6e7d9b63bd3383509e6b70bacccb3bd8ad04d1c2541c/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f7068702d253545372e312d626c75652e737667)](https://php.net)[![Lines](https://camo.githubusercontent.com/7d6bcb8394ec14c3a91deec47fa32e7f5544c8259ae9b62f1963b2459a9f804b/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f636f64652532306c696e65732d323434352d677265656e2e737667)](https://camo.githubusercontent.com/7d6bcb8394ec14c3a91deec47fa32e7f5544c8259ae9b62f1963b2459a9f804b/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f636f64652532306c696e65732d323434352d677265656e2e737667)[![Total Downloads](https://camo.githubusercontent.com/be800feed11e849d3303ddcaa0faba4ab959a81494ffe8763a3433909b7254a1/68747470733a2f2f706f7365722e707567782e6f72672f7068702d70702f636f64652d736e69666665722f646f776e6c6f616473)](https://camo.githubusercontent.com/be800feed11e849d3303ddcaa0faba4ab959a81494ffe8763a3433909b7254a1/68747470733a2f2f706f7365722e707567782e6f72672f7068702d70702f636f64652d736e69666665722f646f776e6c6f616473)

code-sniffer
============

[](#code-sniffer)

Use [squizlabs/php\_codesniffer](https://github.com/squizlabs/PHP_CodeSniffer) to check your code style.

Remove some coding standards, and add a few more.

[Changelog](documentation/changelog.md).

Installation
============

[](#installation)

You can install phpcs with this 2 methods:

- [As Composer dependency](documentation/dependency.md)
- [Use the Docker image](documentation/docker.md)

Code sniffs
===========

[](#code-sniffs)

List of enabled code sniffs is [available here](documentation/sniffs.md).

You can configure some of them with a [bootstrap file](documentation/bootstrap.md).

###  Health Score

15

—

LowBetter than 3% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity2

Limited adoption so far

Community8

Small or concentrated contributor base

Maturity28

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.

### Community

Maintainers

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

---

Top Contributors

[![steevanb](https://avatars.githubusercontent.com/u/5063383?v=4)](https://github.com/steevanb "steevanb (6 commits)")

---

Tags

codesniffercodesniffer-rulescodestylecodestylesphpphp7php74php8php80php81phppp

### Embed Badge

![Health badge](/badges/php-pp-code-sniffer/health.svg)

```
[![Health](https://phpackages.com/badges/php-pp-code-sniffer/health.svg)](https://phpackages.com/packages/php-pp-code-sniffer)
```

PHPackages © 2026

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