mayflower/mo4-coding-standard
PHP_CodeSniffer ruleset for the MO4 coding standard. Extends Symfony’s standard with extra sniffs for array formatting (alignment, multiline rules), property docblocks (@var), and lexicographically sorted use statements (configurable ordering).
phpcbf for 80% of violations).For Executives: "This package standardizes our PHP/Laravel codebase using Symfony’s proven conventions, reducing technical debt and onboarding time. It automates 80% of formatting fixes via CI, letting devs focus on features—not style debates. Low maintenance (MIT-licensed, actively updated) and integrates seamlessly with our existing toolchain."
For Engineering:
"MO4 Coding Standard extends Symfony’s rules with Laravel-friendly additions (e.g., array alignment, use statement sorting). Most violations auto-fix with phpcbf, and it’s configurable—we can tweak use-statement ordering or disable rules like class docblocks. Lightweight (~17 stars but backed by Mayflower’s infrastructure)."
How can I help you explore Laravel packages today?