drupol/php-conventions
Opinionated PHP conventions toolkit with presets for code style, static analysis, and QA tooling. Helps standardize projects quickly by providing shared configuration and automation-friendly defaults for common PHP workflows.
Adopt if:
Look elsewhere if:
"This package automates the enforcement of coding conventions in our Laravel/PHP projects, saving time and reducing errors. By catching issues like inconsistent file naming or class structures early—often in CI—we’ll cut down on manual code reviews and developer ramp-up time. It’s a low-cost, high-impact tool that aligns with our goals for scalable, maintainable code. Think of it as ‘autopilot for best practices’—minimal effort, maximum consistency."
Key Outcomes:
"This is a lightweight, PHP-native way to enforce PSR standards and custom conventions without bloating our toolchain. It integrates seamlessly with Laravel projects and can run in CI to block non-compliant code. For teams tired of arguing about ‘should this file be snake_case or camelCase?’, this tool removes the guesswork. It’s not a replacement for PHPStan, but it’s perfect for catching the ‘low-hanging fruit’ of convention drift."
Why Now?:
How can I help you explore Laravel packages today?