craftcms/ecs
Easy Coding Standard (ECS) config presets for Craft CMS projects and plugins. PSR-12 aligned with a few Craft-specific tweaks. Install via Composer, add an ecs.php selecting Craft 3 or 4 set, then run ecs check (optionally --fix).
Adopt if:
Look elsewhere if:
For Executives: "This package lets us enforce consistent, high-quality code across Craft CMS projects with minimal effort—think of it as ‘auto-pilot’ for developer best practices. It integrates seamlessly with our CI/CD pipelines, reducing technical debt and speeding up onboarding. For a one-time setup, we gain long-term savings in maintenance and developer productivity."
For Engineering:
"CraftCMS/ECS gives us pre-configured PHP_CodeSniffer and ECS rules tailored for Craft CMS, so we don’t waste time tweaking standards. It’s lightweight, MIT-licensed, and plays well with tools like GitHub Actions. Perfect for teams that want to ship faster without sacrificing quality—just add it to your composer.json and let it handle the rest."
How can I help you explore Laravel packages today?