php-collective/code-sniffer
PHP_CodeSniffer ruleset from PhpCollective: PSR-2 compliant with many extra sniffs/fixers (incl. PSR-12). Install via composer, add the provided ruleset to phpcs.xml, and run phpcs/phpcbf (or composer scripts) to check and auto-fix coding style.
|
Package
|
Constraint
|
|---|---|
| phpcsstandards/phpcsextra | ^1.5.0 |
| slevomat/coding-standard | ^8.23.0 |
| squizlabs/php_codesniffer | ^4.0.1 |
|
Package
|
Constraint
|
|---|---|
| phpstan/phpstan | ^2.0.0 |
| phpunit/phpunit | ^10.3 || ^11.2 || ^12.0 |
How can I help you explore Laravel packages today?