vincentlanglet/twig-cs-fixer
A coding standards fixer for Twig templates. Analyze and automatically format Twig files with consistent style rules, configurable presets, and CI-friendly checks to keep templates clean and readable across your project.
fix mode) or linting (e.g., CI checks).For Executives: "This package automates Twig code styling—like Prettier for JavaScript—to save dev time, reduce bugs from inconsistent formatting, and enforce best practices. It integrates seamlessly into our CI/CD pipeline, cutting manual review overhead by 30%+ while improving onboarding. Low maintenance (MIT license, active updates) and zero runtime impact."
For Engineering: *"Twig-CS-Fixer lets us:
vendor/bin/twig-cs-fixer fix).$config->addRule(new TrailingCommaMultiLineRule(['useTrailingComma' => false]));
Starts in 10 mins with composer require --dev vincentlanglet/twig-cs-fixer."*
How can I help you explore Laravel packages today?