almacareer/coding-standard
A shared coding standard for Laravel and PHP projects, providing consistent style rules and configuration to keep codebases clean, readable, and easy to maintain. Simple to install and integrate into existing workflows, it helps enforce conventions automatically and reduce style debates.
php-cs-fixer/Pint ruleset across every repo. The "build" alternative is weeks of config bikeshedding per squad; the "buy" alternative is a commercial linter; this sits in the cheap "adopt/fork" quadrant.Consider it when:
php-cs-fixer or a comparable runner and gate in CI within a day.Look elsewhere when:
For executives: This is a free, permissively licensed (MIT) PHP style preset that can be dropped into our CI in days, not quarters. The business case is reduced review friction and faster onboarding: engineers stop spending cycles on formatting debates and reviewers stop commenting on style. Cost is near zero (no license, no vendor, minimal CI time) and the risk is contained — we pin a version, pilot on one or two repos, and can revert without touching product code. It is not a security or quality guarantee; it complements our testing and static analysis, it does not replace them.
For engineering leadership and staff engineers: Treat it as a pre-built, opinionated ruleset we can adopt, fork, or ignore. It is maintained by Alma Career and open-sourced under MIT, but it is a small project — do not assume upstream responsiveness. Recommend: (1) pin a version and evaluate on a single repo behind CI; (2) run it in report-only mode for a sprint to size the diff before enforcing; (3) decide between consuming upstream vs. vendoring the config into our own internal package so we control the upgrade cadence; (4) pair it with PHPStan/Psalm so "standard-compliant" is never conflated with "correct"; (5) measure the outcome — review latency, style-comment volume, CI minutes — and kill it if the numbers don't move.
For the platform/DX team: This is a candidate dependency for a "golden path" repo template. Success criteria: new repos ship with the gate pre-wired, existing repos migrate on a scheduled wave, and no squad needs to own a ruleset locally. Keep the internal fork seam clean — a thin wrapper package with our pinned config and overrides — so an upstream stall or divergence is a one-day swap, not a migration.
How can I help you explore Laravel packages today?