vierwd/coding-standard
PHP coding standard ruleset from VIERWD built on PHP_CodeSniffer, with sniffs and automatic fixes that enforce a consistent code style across PHP and Laravel projects. Install via Composer and run it in CI or your editor to lint and auto-format code. Includes ready-made rulesets for quick setup.
vierwd/coding-standard is essentially a company house style (FORWARD MEDIA) extracted into a Composer package. That is a valid pattern — it is how you make standards portable across repos, teams, and CI pipelines — but it is a build decision dressed as a buy. There is no commercial support, no roadmap, no SLA.Consider it only as a reference implementation or a starting point you intend to own:
Look elsewhere if any of the following are true — and for most teams, several will be:
slevomat/coding-standard (actively maintained, composable, widely used), doctrine/coding-standard, or — for Laravel specifically — Laravel Pint, which wraps PHP-CS-Fixer and ships with the framework's blessing. Choosing a zero-adoption ruleset over these buys you nothing and costs you community knowledge.For executives (30 seconds): We can reduce review friction and onboarding time by making code style a machine-checked convention instead of a matter of reviewer taste. The specific package reviewed here is not something I recommend adopting directly — it is a small, unmaintained, zero-adoption ruleset from another agency, last released in 2022. But it validates a pattern: publish your conventions as a versioned package so every repository and every CI pipeline enforces the same rules. My recommendation is to adopt a maintained, widely used standard (PSR-12 plus Laravel Pint for our Laravel services) and layer our own house rules on top as a thin internal package, with a named owner and a quarterly review. This is a low-single-digit engineering-weeks investment with a clear payback in review time, not a multi-quarter project.
For engineering leadership: Treat the reviewed package as a design reference, not a dependency. It demonstrates a sound approach — conventions as a Composer-installable ruleset consumed by CI — and we should copy the approach while rejecting the artifact: zero dependents and a stale release mean we would inherit maintenance for no benefit. We propose the same architecture built on slevomat/coding-standard (or Laravel Pint where the framework already provides it), pinned in composer.json, run as a changed-files-only advisory check first, then promoted to a blocking PR gate once the baseline is clean. Sequence strictness deliberately; a hard gate against a legacy tree will block delivery and get disabled within a sprint. Pair the standard with a static analysis job (PHPStan) so we can honestly claim quality improvement rather than formatting churn, and track two metrics — lint findings per merged PR and median review time — to prove the investment paid off.
For the engineering team: Adopting this package means we own it. If you want its opinions, fork them into our own ruleset under a license we control, keep the diff small, and document the intent behind each rule so nobody disables it in six months without knowing why it existed.
How can I help you explore Laravel packages today?