moxio/php-codesniffer-sniffs
Custom PHP_CodeSniffer 3.x sniffs from Moxio to catch subtle PHP bugs and unexpected behavior. Provides a standalone ruleset or individual sniffs for other standards, enforcing safer comparisons, strict base64_decode, switch continue rules, and more.
snake_case for DB queries).For Executives: "This package lets us automate PHP code quality checks—catching style issues, security risks, and anti-patterns before they reach production. It’s like a ‘linter on steroids’ for our PHP codebase, reducing bugs and onboarding time. Low-cost (MIT license), easy to integrate into CI, and maintained by the community. Think of it as insurance for our code quality."
For Engineering: *"We’re adding custom PHP_CodeSniffer rules to enforce:
die() calls, magic methods).
It plugs into our existing CI (e.g., GitHub Actions) and runs in <1 minute per PR. No new tools—just extending what we already use. First pass: focus on high-impact sniffs (e.g., SQL injection risks)."*How can I help you explore Laravel packages today?