mfn/php-cs-fixer-config
Opinionated php-cs-fixer ruleset for v3.11+ from MFN. Provides a ready-to-use rule array via Mfn\PhpCsFixer\Config::getRules(); enable setRiskyAllowed(true) in your php-cs-fixer config and apply the rules.
php-cs-fixer (a widely adopted tool in the ecosystem).Adopt if:
php-cs-fixer v3.11+ and you’re open to an opinionated (but flexible) config.Look elsewhere if:
php-cs-fixer versions (<3.11).friendsofphp/php-cs-fixer) with broader adoption."This package lets us enforce a consistent PHP/Laravel coding standard with minimal effort—no custom tooling, no maintenance overhead. By automating formatting fixes, we’ll reduce busywork in code reviews, speed up onboarding, and improve developer satisfaction. It’s a lightweight, risk-free way to standardize our codebase without reinventing the wheel. The ‘opinionated’ approach actually saves time by eliminating style debates, so we can focus on what matters: shipping high-quality features faster."
"This is a pre-configured php-cs-fixer setup that aligns with modern Laravel best practices. It handles all the tedious formatting rules for us (e.g., indentation, spacing, naming) so we don’t waste time arguing about style in PRs. Just add it to your project, run it in CI, and boom—consistent codebase. The config is flexible enough to tweak if needed (via PRs), and since it’s just a config (no license hassle), it’s zero-risk to adopt. Let’s cut down on noise in reviews and focus on the code that actually moves the needle."
php-cs-fixer workflows.php-cs-fixer v3.11+).How can I help you explore Laravel packages today?