nwrman/laravel-toolkit
A Laravel toolkit bundling handy helpers, utilities, and reusable components to speed up everyday development. Drop it into any Laravel app to reduce boilerplate and keep common tasks tidy.
toolkit:preflight now refuses a coverage gate that silently disables TIA (e.g. --exclude-testsuite=Browser). That converts a quiet, expensive footgun into a hard failure. Good input for a policy decision on what "green" means in CI, and for standardizing preflight across repos.main. Support for arbitrary base branches means this scales to release branches, hotfix branches, and long-lived feature lines. Relevant if your roadmap includes trunk-based variants, release trains, or multi-version support.toolkit:* command family (tia, preflight, retry) plus a guard hook suggests an emerging internal standard for Laravel project hygiene. Adopting it is a step toward consistency across your portfolio of Laravel services.pest --baseline was being blocked by a hook and silently degrading.Consider adoption when:
composer test / PHPStan / retries — the maintenance cost is a direct argument for consolidating.main.Look elsewhere or wait when:
toolkit:tia means your baseline lifecycle is coupled to a pre-1.0 package that is intentionally tracking Pest's internal cache format. That format tracking is a feature today and a fragility tomorrow.For executives (one paragraph): Our Laravel teams currently burn a full test-suite run at the start and end of every ticket branch, because the test-impact-analysis cache doesn't travel between git worktrees and branches. This release adds a small command that lets a merged branch publish its test baseline and lets new checkouts inherit it — so routine changes run only the tests they touch, while keeping the final gate unfiltered so we don't trade speed for coverage. It also closes a hole where a filtered preflight quietly disabled test-impact analysis and re-ran everything, and removes internal scripts teams were maintaining to work around it. Net effect: faster feedback per ticket and lower CI spend, with the same or stricter quality gate. Caveat: this is a pre-1.0 tool, so we should pilot it on one or two repos before standardizing.
For engineering: toolkit:tia (check / inherit / publish) replaces the per-repo cache-copying scripts; it understands Pest's cache format and works on any base branch, not just main. toolkit:preflight now hard-fails on coverage gates that pass selection flags like --exclude-testsuite=Browser, since those disabled TIA and recorded nothing to publish — the "Running Tests" guideline documents the rationale. Two fixes land alongside: the guard hook no longer blocks pest --baseline, and two PHPStan errors are resolved. toolkit:retry gains --no-notify for parity with sibling commands. Expect to update CI configs if any pipeline currently filters the preflight suite; that will now fail loudly by design.
How can I help you explore Laravel packages today?