PHPackages                             woocommerce/woocommerce-sniffs - 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. [Utility &amp; Helpers](/categories/utility)
4. /
5. woocommerce/woocommerce-sniffs

ActivePhpcodesniffer-standard[Utility &amp; Helpers](/categories/utility)

woocommerce/woocommerce-sniffs
==============================

WooCommerce sniffs

1.0.1(8mo ago)496.8M—9.5%10[7 issues](https://github.com/woocommerce/woocommerce-sniffs/issues)[1 PRs](https://github.com/woocommerce/woocommerce-sniffs/pulls)20MITPHPPHP &gt;=7.0

Since Dec 21Pushed 1mo ago7 watchersCompare

[ Source](https://github.com/woocommerce/woocommerce-sniffs)[ Packagist](https://packagist.org/packages/woocommerce/woocommerce-sniffs)[ RSS](/packages/woocommerce-woocommerce-sniffs/feed)WikiDiscussions trunk Synced 1mo ago

READMEChangelog (6)Dependencies (3)Versions (22)Used By (20)

WooCommerce Sniffs
==================

[](#woocommerce-sniffs)

Collection of PHP\_CodeSniffer sniffs for WooCommerce.

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

[](#installation)

```
composer require woocommerce/woocommerce-sniffs
```

Usage
-----

[](#usage)

### Command line

[](#command-line)

```
./vendor/bin/phpcs --standard=WooCommerce-Core
```

### Config file

[](#config-file)

PHPCS config file:

```

	My projects ruleset.

		tests/

```

Changelog
---------

[](#changelog)

[See changelog for details](https://github.com/woocommerce/woocommerce-sniffs/blob/master/CHANGELOG.md)

###  Health Score

61

—

FairBetter than 99% of packages

Maintenance74

Regular maintenance activity

Popularity57

Moderate usage in the ecosystem

Community37

Small or concentrated contributor base

Maturity67

Established project with proven stability

 Bus Factor1

Top contributor holds 50.6% 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 ~187 days

Recently: every ~374 days

Total

16

Last Release

258d ago

Major Versions

0.1.3 → 1.0.02023-09-29

### Community

Maintainers

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

![](https://www.gravatar.com/avatar/67851e0deeb2c6a7a4c238cf45c0e9694a919e2c5e02706c5852e67c4ad279c9?d=identicon)[ObliviousHarmony](/maintainers/ObliviousHarmony)

---

Top Contributors

[![claudiosanches](https://avatars.githubusercontent.com/u/1264099?v=4)](https://github.com/claudiosanches "claudiosanches (43 commits)")[![rodrigoprimo](https://avatars.githubusercontent.com/u/77215?v=4)](https://github.com/rodrigoprimo "rodrigoprimo (8 commits)")[![ObliviousHarmony](https://avatars.githubusercontent.com/u/6451942?v=4)](https://github.com/ObliviousHarmony "ObliviousHarmony (7 commits)")[![roykho](https://avatars.githubusercontent.com/u/2132595?v=4)](https://github.com/roykho "roykho (7 commits)")[![renovate-bot](https://avatars.githubusercontent.com/u/25180681?v=4)](https://github.com/renovate-bot "renovate-bot (7 commits)")[![prettyboymp](https://avatars.githubusercontent.com/u/103718?v=4)](https://github.com/prettyboymp "prettyboymp (4 commits)")[![kraftbj](https://avatars.githubusercontent.com/u/88897?v=4)](https://github.com/kraftbj "kraftbj (2 commits)")[![jonathansadowski](https://avatars.githubusercontent.com/u/363749?v=4)](https://github.com/jonathansadowski "jonathansadowski (2 commits)")[![BrianHenryIE](https://avatars.githubusercontent.com/u/4720401?v=4)](https://github.com/BrianHenryIE "BrianHenryIE (1 commits)")[![jorgeatorres](https://avatars.githubusercontent.com/u/184724?v=4)](https://github.com/jorgeatorres "jorgeatorres (1 commits)")[![renovate[bot]](https://avatars.githubusercontent.com/in/2740?v=4)](https://github.com/renovate[bot] "renovate[bot] (1 commits)")[![helgatheviking](https://avatars.githubusercontent.com/u/507025?v=4)](https://github.com/helgatheviking "helgatheviking (1 commits)")[![GaryJones](https://avatars.githubusercontent.com/u/88371?v=4)](https://github.com/GaryJones "GaryJones (1 commits)")

---

Tags

standardsphpcswordpressstatic analysiswoocommerce

### Embed Badge

![Health badge](/badges/woocommerce-woocommerce-sniffs/health.svg)

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

###  Alternatives

[phpcsstandards/phpcsutils

A suite of utility functions for use with PHP\_CodeSniffer

6333.4M58](/packages/phpcsstandards-phpcsutils)[automattic/vipwpcs

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

25510.2M145](/packages/automattic-vipwpcs)[yoast/yoastcs

PHP\_CodeSniffer rules for Yoast projects

221.1M29](/packages/yoast-yoastcs)[php-stubs/woocommerce-stubs

WooCommerce function and class declaration stubs for static analysis.

942.9M66](/packages/php-stubs-woocommerce-stubs)[phpcompatibility/phpcompatibility-paragonie

A set of rulesets for PHP\_CodeSniffer to check for PHP cross-version compatibility issues in projects, while accounting for polyfills provided by the Paragonie polyfill libraries.

1031.3M10](/packages/phpcompatibility-phpcompatibility-paragonie)[inpsyde/php-coding-standards

PHP 7.4+ coding standards for Syde WordPress projects.

101163.9k45](/packages/inpsyde-php-coding-standards)

PHPackages © 2026

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