jubeki/laravel-code-style
Opinionated code style configuration for Laravel projects. jubeki/laravel-code-style provides a ready-to-use Pint preset to enforce consistent formatting and coding conventions across your app, helping teams keep clean, predictable PHP code with minimal setup.
php-cs-fixer/Pint baseline, or a monorepo-wide formatting gate.Adopt when:
Look elsewhere when:
For executives: This is a low-cost, MIT-licensed developer-productivity tool that enforces consistent code style automatically instead of through manual review. It closes a known gap — Laravel's own formatter (Pint) doesn't natively support the custom rules many teams need — so we get standardized code without building and maintaining our own tooling. Expected effect: fewer style-related review cycles, faster merges, cleaner onboarding. Risk is contained: small surface area, no runtime dependency, and straightforward to remove if it doesn't pay off.
For engineering leadership: It's a thin layer over Laravel Pint that lets us register custom PHP-CS-Fixer rules while inheriting Pint's ruleset and updates. That means one style contract across our apps and packages, enforceable in CI and pre-commit hooks. We avoid owning a fork of Pint's config as its rules evolve. Caveats to flag: it's a small, single-maintainer project, so treat it as a convenience wrapper rather than a critical-path dependency — vendor or pin it, and keep a fallback to plain Pint. It solves formatting consistency, not correctness or static analysis; budget those separately. Recommend a time-boxed pilot on one repo to measure review-comment reduction and CI impact before org-wide rollout.
How can I help you explore Laravel packages today?