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. [PSR &amp; Standards](/categories/psr-standards)
4. /
5. wondernetwork/wondersniffer

AbandonedArchivedLibrary[PSR &amp; Standards](/categories/psr-standards)

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

PHP Coding Standards for WonderNetwork

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

Since Aug 19Pushed 3mo 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 1mo ago

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

42

—

FairBetter than 90% of packages

Maintenance55

Moderate activity, may be stable

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

2115d 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

[yoast/yoastcs

PHP\_CodeSniffer rules for Yoast projects

221.1M29](/packages/yoast-yoastcs)[mayflower/mo4-coding-standard

PHP CodeSniffer ruleset implementing the MO4 coding standards extending the Symfony coding standards.

17508.3k5](/packages/mayflower-mo4-coding-standard)

PHPackages © 2026

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