PHPackages                             wpsh/wpcs-for-envato - 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. wpsh/wpcs-for-envato

ActivePhpcodesniffer-standard

wpsh/wpcs-for-envato
====================

WordPress coding standards for Envato plugins and themes

0.3.0(7y ago)455↓100%MIT

Since Feb 10Pushed 7y ago2 watchersCompare

[ Source](https://github.com/wpsh/wpcs-for-envato)[ Packagist](https://packagist.org/packages/wpsh/wpcs-for-envato)[ RSS](/packages/wpsh-wpcs-for-envato/feed)WikiDiscussions master Synced 1mo ago

READMEChangelog (4)Dependencies (2)Versions (5)Used By (0)

Coding Standard for WordPress Plugins and Themes on Envato Market
=================================================================

[](#coding-standard-for-wordpress-plugins-and-themes-on-envato-market)

[![Build Status](https://camo.githubusercontent.com/6b1ae8fa20505fd08505a32dd4e3ada032fb7f434546fd130006e48b752a26de/68747470733a2f2f7472617669732d63692e636f6d2f777073682f777063732d666f722d656e7661746f2e7376673f6272616e63683d6d6173746572)](https://travis-ci.com/wpsh/wpcs-for-envato)

Automatically check for Envato [WordPress plugin](https://help.author.envato.com/hc/en-us/articles/360000481223-WordPress-Theme-Plugin-Requirements) and [theme coding requirements](https://help.author.envato.com/hc/en-us/articles/360000479946-WordPress-Theme-Coding-Requirements). Based on the official [WordPress coding standards](https://github.com/WordPress-Coding-Standards/WordPress-Coding-Standards) but more relaxed.

Requirements
------------

[](#requirements)

- [Composer](https://getcomposer.org)

Setup
-----

[](#setup)

1. Add these coding standards as a [Composer development dependency](https://packagist.org/packages/wpsh/wpcs-for-envato) to your project:

    ```
    composer require --dev wpsh/wpcs-for-envato
    ```
2. Define a script in `composer.json` to run the checks:

    ```
    {
    	"scripts": {
    		"phpcs": "./vendor/bin/phpcs --standard=WPCSForEnvato --extensions=php",
    		"phpcs-fix": "./vendor/bin/phpcbf --standard=WPCSForEnvato --extensions=php"
    	}
    }
    ```

    Use `composer phpcs` to run the coding standard checks and `composer phpcs-fix` to automatically fix some of the coding standard violations.

Configuration
-------------

[](#configuration)

Add `phpcs.xml.dist` to your project root that provides additional configuration options:

```

```

Credits
-------

[](#credits)

Created by [Kaspars Dambis](https://kaspars.net).

###  Health Score

26

—

LowBetter than 43% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity13

Limited adoption so far

Community8

Small or concentrated contributor base

Maturity53

Maturing project, gaining track record

 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

Every ~1 days

Total

4

Last Release

2640d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/92bfcd3a8c3a21a033a6484d32c25a40b113ec6891f674336081513d5c98ef76?d=identicon)[kasparsd](/maintainers/kasparsd)

---

Top Contributors

[![kasparsd](https://avatars.githubusercontent.com/u/169055?v=4)](https://github.com/kasparsd "kasparsd (24 commits)")

---

Tags

envatoenvato-marketphpcsphpcs-standardwordpresswordpress-development

### Embed Badge

![Health badge](/badges/wpsh-wpcs-for-envato/health.svg)

```
[![Health](https://phpackages.com/badges/wpsh-wpcs-for-envato/health.svg)](https://phpackages.com/packages/wpsh-wpcs-for-envato)
```

###  Alternatives

[automattic/vipwpcs

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

25510.2M144](/packages/automattic-vipwpcs)[wp-cli/wp-cli-tests

WP-CLI testing framework

422.7M87](/packages/wp-cli-wp-cli-tests)[wptrt/wpthemereview

PHP\_CodeSniffer rules (sniffs) to verify theme compliance with the rules for theme hosting on wordpress.org

217736.5k29](/packages/wptrt-wpthemereview)[woocommerce/woocommerce-sniffs

WooCommerce sniffs

496.8M40](/packages/woocommerce-woocommerce-sniffs)[humanmade/coding-standards

Human Made Coding Standards

161424.0k48](/packages/humanmade-coding-standards)[yoast/yoastcs

PHP\_CodeSniffer rules for Yoast projects

221.1M29](/packages/yoast-yoastcs)

PHPackages © 2026

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