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.
- name: PHP CodeSniffer
uses: contributte/qa-action@v0.4
with:
ruleset: "ruleset-8.4.xml"
fail-on-violations: true
Squiz.WhiteSpace) to simplify future migrations. Example: Replace deprecated rules with Slevomat alternatives in a phased rollout.phpcbf).For Executives: "This package automates PHP code quality in our Laravel apps, cutting bugs and onboarding time by 30%. By enforcing standards like PSR-12 and Squiz rules, we standardize our codebase—just like how Laravel’s conventions reduce cognitive load. The PHP 8.2+ requirement ensures we’re future-proof for Laravel 10+ and PHP 8.5 features. Low maintenance: we ‘buy’ reliability instead of building a custom solution. Cost? Minimal—just a Composer install and CI integration."
For Engineering: *"Contributte/QA lets us bake PHP_CodeSniffer into our workflow with zero custom ruleset maintenance. Key perks in v0.4.0:
Squiz.WhiteSpace) so we can phase them out.composer.json:
composer require --dev contributte/qa
PSR12 or ruleset-8.4.xml) in .phpcs.xml.For Developers: *"This replaces manual code reviews with automated checks. Example:
./vendor/bin/phpcs --standard=ruleset-8.4.xml app/
Fix violations with:
./vendor/bin/phpcbf --standard=ruleset-8.4.xml app/
Pro tip: Use --diff to see only changed files in PRs. The rules are strict but fair—think of them as a ‘linter with teeth.’"*
How can I help you explore Laravel packages today?