hosmelq/php-coding-standard
Hosmelq's PHP Coding Standard offers an opinionated, Laravel-friendly ruleset for PHP-CS-Fixer, helping teams enforce consistent code style with minimal configuration. Install it via Composer and run the fixer to format your projects automatically.
pestphp/pest-plugin-rector an optional dependency, so consuming packages can adopt Pest 4 and run their matrix against Laravel 12 without being pinned back by a hard dev-dependency. That directly informs roadmap timing: "can we claim Laravel 12 support this quarter?" becomes a yes rather than a blocked item.RECTOR_PEST) is a useful pattern to endorse — advanced tooling is available but never imposed, which lowers adoption friction for downstream consumers.Adopt when most of the following hold:
Look elsewhere when:
Operational caveat to carry into adoption: because v1.1.0 makes the Pest plugin optional, Pest-related refactors are no longer enabled implicitly. Any pipeline that assumed they ran must now keep pestphp/pest-plugin-rector installed and set RECTOR_PEST, or the rules will silently do nothing. Treat "did any refactor actually apply?" as an assertion in CI, not an assumption — a no-op pipeline looks identical to a clean codebase.
For executives: This is low-cost, high-leverage engineering tooling. It automates the repetitive mechanical work of framework upgrades, which is where large migrations quietly consume sprints. The v1.1.0 release removes a dependency constraint that was blocking us from claiming support for Laravel 12 and Pest 4 — no forking, no custom patching, no waiting on a vendor. There is no production runtime dependency and no customer-facing surface area, so the risk profile is limited to CI. The decision to make the Pest integration opt-in is deliberate and conservative: it preserves existing behavior for anyone who doesn't need it, while unblocking those who do.
For engineering: v1.1.0 decouples the hard dependency on pestphp/pest-plugin-rector, unblocking Pest 4 adoption and Laravel 12 test matrices for packages that expose dev dependencies. Pest Rector rules are now opt-in via RECTOR_PEST — if you want them, keep the plugin installed and set the flag; if you don't, nothing changes. Recommended rollout: pin the version, add it to the shared dev toolchain, and add a CI check that fails if the expected rules produce zero diffs on a known-bad fixture. That single guard catches the silent no-op failure mode that opt-in flags introduce.
How can I help you explore Laravel packages today?