Hybrid PHPCS ruleset for OOP WordPress development

Installs: 15 643

Dependents: 6

Suggesters: 0

Security: 0

Stars: 7

Watchers: 2

Forks: 1

Open Issues: 1


v0.6.1 2021-07-01 07:23 UTC

This package is auto-updated.

Last update: 2022-06-21 11:14:01 UTC


Build Status Packagist Version Packagist PHP Version Support


  • PSR-12 Extended Coding Style as starting point
  • All WPCS features through Neutron
  • File permission bits
  • Strict types
  • File, class and method comments
  • Handpicked Slevomat rules


composer require --dev szepeviktor/phpcs-psr-12-neutron-hybrid-ruleset

./vendor/bin/phpcs --standard=PSR12NeutronRuleset src/

About the @package tag

  • The origins of the @package tag are in PEAR where packages are called for example Net_Ping
  • You can put your Composer package name there: yoast/phpunit-polyfills
  • Or you can use your plugin slug: wordpress-seo