Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

PHP Code Sniffers/Fixers of various focus areas and styles

License

php-collective/awesome-php-sniffers

Folders and files

NameName
Last commit message
Last commit date

Latest commit

History

6 Commits

Repository files navigation

Awesome PHP Sniffers

A curated list of amazingly awesome PHP Coding Standards & Code Sniffers/Fixers of various focus areas and styles.

Order is alphabetical.

Table of Contents

Tools

  • PHP_CodeSniffer - Tokenizer based sniffer and fixer tool for various PHP Coding standards.
  • PHP-CS-Fixer - A tool to automatically fix PHP Coding Standards issues.

Code Sniffers/Fixers

Framework specific

Coding standards for a specific framework

  • CakePHP - Official package for CakePHP.
  • Laminas - The coding standard ruleset for Laminas components.
  • Laravel - PHPCS coding-standard for Laravel applications and packages.
  • WordPress/WordPress-Coding-Standards - PHP_CodeSniffer rules (sniffs) to enforce WordPress coding conventions.

Other

Collection of packages for the tools listed above

Helpers

Helper utilities or libraries around the use of sniffer or fixer collections

Resources

  • PSR-1 - Basic Coding Standard.
  • PSR-2 - Coding Style Guide {deprecated}.
  • PSR-12 - Extends, expands and replaces PSR-2, the coding style guide.
  • PER 2.0 - Latest successor of PSR standards (extends, expands and replaces PSR-12).

AltStyle によって変換されたページ (->オリジナル) /