PHPackages                             wondernetwork/wondersniffer - 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. wondernetwork/wondersniffer

AbandonedArchivedLibrary

wondernetwork/wondersniffer
===========================

PHP Coding Standards for WonderNetwork

v2.0.0(5y ago)116.5k1GPL-2.0+PHPCI passing

Since Aug 19Pushed 1mo ago5 watchersCompare

[ Source](https://github.com/WonderNetwork/wondersniffer)[ Packagist](https://packagist.org/packages/wondernetwork/wondersniffer)[ Docs](https://github.com/WonderNetwork/wondersniffer)[ RSS](/packages/wondernetwork-wondersniffer/feed)WikiDiscussions main Synced today

READMEChangelogDependencies (2)Versions (4)Used By (0)

WonderNetwork Coding Standard for PHP
=====================================

[](#wondernetwork-coding-standard-for-php)

WonderNetwork uses [PHP\_CodeSniffer](https://github.com/squizlabs/PHP_CodeSniffer/) to keep our code pretty. [PSR-2](http://www.php-fig.org/psr/psr-2/) is the base of our standard, with a few extras thrown in. You can see what we've added and removed in the [`ruleset.xml`](WonderNetwork/ruleset.xml), and check out our customizations in [`Sniffs`](WonderNetwork/Sniffs).

*(The astute may notice that the code in this repo doesn't conform to our own standard. We don't care.)*

How to make your code look like our code
----------------------------------------

[](#how-to-make-your-code-look-like-our-code)

1. Add `wondersniffer` to your [Composer](https://getcomposer.org/) packages:

```
$ composer require --dev wondernetwork/wondersniffer

```

2. Update `composer`:

```
$ composer update

```

3. Add the WonderNetwork standard to your `ruleset.xml`:

```

```

4. Run the sniffer against your codebase:

```
$ ./vendor/bin/phpcs --standard=ruleset.xml your-source-code

```

Credits
-------

[](#credits)

- [MediaWiki](https://github.com/wikimedia/mediawiki-tools-codesniffer) for (unwittingly!) providing the scaffolding for a customized standard.
- [CakePHP](https://github.com/cakephp/cakephp-codesniffer) for providing the template MediaWiki used!

###  Health Score

43

—

FairBetter than 91% of packages

Maintenance60

Regular maintenance activity

Popularity23

Limited adoption so far

Community13

Small or concentrated contributor base

Maturity65

Established project with proven stability

 Bus Factor1

Top contributor holds 85% 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 ~1437 days

Total

2

Last Release

2063d ago

Major Versions

v1.0.0 → v2.0.02020-07-27

### Community

Maintainers

![](https://www.gravatar.com/avatar/8572223899390b494d1282b615009bc2eea5ef1cd6bfc22f6e6b175034dadfe0?d=identicon)[mlebkowski](/maintainers/mlebkowski)

![](https://www.gravatar.com/avatar/341a28d185d58818b433a0447f4f97df322bd172f528879d24febfc075df8d35?d=identicon)[preinheimer](/maintainers/preinheimer)

---

Top Contributors

[![ellotheth](https://avatars.githubusercontent.com/u/977114?v=4)](https://github.com/ellotheth "ellotheth (17 commits)")[![mlebkowski](https://avatars.githubusercontent.com/u/848731?v=4)](https://github.com/mlebkowski "mlebkowski (3 commits)")

---

Tags

codesnifferwondernetwork

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/wondernetwork-wondersniffer/health.svg)

```
[![Health](https://phpackages.com/badges/wondernetwork-wondersniffer/health.svg)](https://phpackages.com/packages/wondernetwork-wondersniffer)
```

###  Alternatives

[dealerdirect/phpcodesniffer-composer-installer

PHP\_CodeSniffer Standards Composer Installer Plugin

594158.0M1.6k](/packages/dealerdirect-phpcodesniffer-composer-installer)[cakephp/cakephp-codesniffer

CakePHP CodeSniffer Standards

23110.7M574](/packages/cakephp-cakephp-codesniffer)[yiisoft/yii2-coding-standards

Yii PHP Framework Version 2 - Coding standard tools

183999.8k151](/packages/yiisoft-yii2-coding-standards)[spryker/code-sniffer

Spryker Code Sniffer Standards

374.1M2.0k](/packages/spryker-code-sniffer)[consistence/coding-standard

Consistence - Coding Standard - PHP Code Sniffer rules

78831.9k87](/packages/consistence-coding-standard)[mediawiki/mediawiki-codesniffer

MediaWiki CodeSniffer Standards

332.9M275](/packages/mediawiki-mediawiki-codesniffer)

PHPackages © 2026

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