dealerdirect/phpcodesniffer-composer-installer
Composer installer plugin that automatically registers PHP_CodeSniffer coding standards (rulesets) from your dependencies. It scans installed packages for phpcodesniffer-standard rulesets and configures PHPCS installed_paths—no symlinks or manual setup.
composer install, ensuring linting tools are pre-configured in CI environments (e.g., GitHub Actions, GitLab CI). Supports pre-commit hooks or post-install scripts.Adopt When:
installed_paths configuration in phpcs.xml.composer install.Look Elsewhere If:
installed_paths.*"This package automates the setup of PHP code quality standards (like PSR12 or WordPress rules) using Composer, eliminating manual configuration and reducing onboarding time for developers. By standardizing linting across our codebase, we can:
*"This Composer plugin automatically installs and configures PHP_CodeSniffer standards during composer install, so you never have to manually edit phpcs.xml or symlink directories again. Key benefits:
composer install) sets up all your linting rules (e.g., PSR, Symfony, custom standards).dealerdirect/phpcodesniffer-composer-installer to require-dev, and PHPCS just works—no extra steps."**"This solves a common pain point in PHP projects: managing PHPCS standards without manual intervention. It:
installed_paths in PHPCS.phpcompatibility/php-compatibility + wp-coding-standards/wpcs, this plugin handles both seamlessly.How can I help you explore Laravel packages today?