staudenmeir/dusk-updater
Keeps Laravel Dusk's browser drivers current: it adds an artisan command that downloads the latest ChromeDriver or GeckoDriver binary matching your installed browser, so Dusk tests keep working after browser updates. Handles Chrome and Firefox, version detection, and CI environments.
dusk-updater removes a recurring operational objection—Chrome auto-updates and browser tests fail on driver version mismatch. It lets the team evaluate Dusk on test value rather than driver-maintenance pain.require-dev dependency and redirect engineering time to product work. Important caveat: Dusk 8+ already ships a dusk:chrome-driver command, so this is a buy decision mainly for older Dusk versions, pinned-driver workflows, or multi-version browser matrices—not a universal requirement.php artisan dusk:update reduces “works on my machine” failures and shortens ramp-up for engineers joining a Laravel codebase.DuskUpdater facade.Consider it when most of these are true:
Look elsewhere if:
dusk:chrome-driver already covers this. Running both just overwrites the same binary and creates ambiguity about which mechanism owns driver resolution.For executives: This is a developer-productivity package, not a customer-facing feature. It keeps Laravel browser tests running as Chrome updates on its own, so releases do not slip because of test-infrastructure failures. v1.5.1 is a maintenance release adding ChromeDriver 127+ support—no breaking changes—and signals active upkeep. Cost is effectively zero; the return is fewer CI interruptions, more reliable release confidence, and engineering hours returned to product work instead of maintaining browser-driver scripts. Scope is deliberately narrow: it matters only if we invest in Dusk-based end-to-end testing, and it does not replace a broader browser-test strategy.
For engineering: Adopt staudenmeir/dusk-updater as a require-dev dependency if you run Dusk against Chrome and are on a Dusk version that predates the built-in dusk:chrome-driver command, or if you need to pin driver versions. Install it, then add an explicit php artisan dusk:update step to CI after the browser is installed and before php artisan dusk. The driver binary in vendor/ does not survive composer install, so the update step must run on every fresh CI job. Pin a version explicitly where reproducibility matters, and pin the matching browser build too or the pin drifts. Watch the usual failure modes: browser major-version mismatch from multiple installs, ARM/Apple Silicon/Alpine binaries, blocked downloads behind proxies, permission errors writing the binary, stale caches, and version detection inside containers. Run the update inside the container Dusk uses. If you are on Dusk 8+, prefer the built-in command and drop this package. Treat v1.5.1 as a low-risk forward-compatibility bump; confirm Composer constraints against your Laravel/PHP/Dusk matrix, then roll out behind a branch with a full Dusk run.
How can I help you explore Laravel packages today?