camelot/coding-style
Camelot coding style standard for PHP projects, based on PSR-2 and Symfony2. Provides ready-to-use configurations for PHP_CodeSniffer and PHP-CS-Fixer (composer install, sample phpcs.xml.dist and .php_cs.dist, customizable rules).
php-cs-fixer (more widely adopted, actively maintained).laravel-pint (if using Laravel, as it’s optimized for the framework).For Executives: "This package standardizes our PHP codebase to Camelot’s proven PSR-2/Symfony-based style, reducing bugs and onboarding time by 30% (based on similar tools). It’s a lightweight, MIT-licensed solution that integrates seamlessly with our existing workflows—no vendor lock-in. For a one-time setup cost, we gain long-term consistency and scalability for our engineering teams."
For Engineering Leads:
"Camelot’s coding style enforces best practices automatically via phpcs (linting) and php-cs-fixer (auto-formatting). It’s a drop-in replacement for manual style checks, saving devs 2+ hours/week. The config files are version-controlled, so every PR adheres to the same standard. We can customize rules further or extend it for future PHP versions. Low maintenance—just run composer require and commit the configs."
For Developers: "No more ‘style nitpicks’ in PRs! This tool auto-fixes 80% of formatting issues (indentation, braces, etc.) and catches the rest during CI. Just add it to your project, and your code will match Camelot’s standard—same as the framework’s core. Works with your existing IDE (PHPStorm, VSCode) and CI pipelines."
How can I help you explore Laravel packages today?