PHP Composter PHP Code Sniffer PSR-2 (pre-commit).

Installs: 721

Dependents: 2

Suggesters: 0

Security: 0

Stars: 8

Watchers: 3

Forks: 0

Open Issues: 0


v0.2.0 2016-03-28 05:34 UTC

This package is auto-updated.

Last update: 2024-04-16 04:20:56 UTC


Check your PHP source code for PSR-2 compliance before committing.

Latest Stable Version Total Downloads Latest Unstable Version License

This Composer package will start to check your PHP files upon each commit to make sure they comply to the PSR-2 Coding Style Guide.

This is a PHP Composter Action.

Uses the wonderful PHP CodeSniffer Project.

Table Of Contents


Just add as a development requirement to your composer.json, and it should work automagically:

composer require --dev php-composter/php-composter-phpcs-psr2

Basic Usage

It should just work when you git commit.


All feedback / bug reports / pull requests are welcome.