contributte/qa
Contributte QA is a dev-only Composer package that bundles and streamlines PHP quality assurance tooling for your project. Install via composer require --dev contributte/qa and follow the included docs to integrate checks into your workflow/CI.
php-cs-fixer, custom Git hooks). Its XML-based configuration aligns with Laravel’s composable tooling philosophy.squizlabs/php_codesniffer) as a dev dependency.cs2pr (colorized output).phpcbf integration enables automated fixes for violations, reducing manual effort..phpcs.xml configurations can be extended or replaced with contributte/qa’s rulesets (e.g., ruleset-8.4.xml).contributte/qa enforces static analysis (e.g., control structure spacing, type hints).Squiz.WhiteSpace.LanguageConstructSpacing is deprecated since v3.3.0. Teams using this rule must update configurations or suppress warnings.laravel-shift/blade-style).app()->make() vs. constructor injection).Squiz.WhiteSpace.LanguageConstructSpacing? Is there a replacement rule or automated migration tool?.phpcs.xml) for deprecated rules (e.g., Squiz.WhiteSpace).composer require --dev contributte/qa
contributte/qa/ruleset.xml or version-specific files (e.g., ruleset-8.4.xml)..phpcs.xml:
<config defaultStandard="contributte/qa/ruleset.xml">
<arg name="encoding" value="utf-8"/>
<file>./app</file>
</config>
- name: Run PHP_CodeSniffer
run: vendor/bin/phpcs --standard=contributte/qa/ruleset.xml --report=full
- name: Auto-fix PHP_CodeSniffer
run: vendor/bin/phpcbf --standard=contributte/qa/ruleset.xml
blade-style).ruleset.xml if needed (e.g., disallow app()->make()).<rule ref="Squiz.WhiteSpace.LanguageConstructSpacing">
<severity>warning</severity>
</rule>
contributte/qa for linting.contributte/qa.ruleset-8.5.xml).Squiz.WhiteSpace).How can I help you explore Laravel packages today?