Weave Code
Weaver
Helps Laravel developers discover, compare, and choose open-source packages. See popularity, security, maintainers, and scores at a glance to make better decisions.
Feedback
Share your thoughts, report bugs, or suggest improvements.
Subject
Message

Dusk Laravel Package

duncan3dc/dusk

A collection of helpers and utilities for Laravel Dusk that makes browser-based end-to-end testing more convenient. It reduces boilerplate around common page interactions and assertions, helping you write clearer, more maintainable UI tests while keeping close to Dusk's familiar API.

View on GitHub
Deep Wiki
Context7

Product Decisions This Supports

  • Build vs. buy vs. borrow for browser-test coverage. If your product is a non-Laravel PHP application (legacy monolith, Slim/Symfony service, WordPress plugin, or a standalone package), this package answers "can we get Dusk-style end-to-end browser tests without adopting Laravel?" — and the answer is a qualified yes. That makes it a candidate for closing a QA gap without a framework migration.
  • Roadmap sequencing for test automation. It supports a decision to defer a full test-stack modernization (e.g., Playwright/Cypress migration) by one or two quarters, buying incremental coverage now at low integration cost.
  • Scope boundary for the "Laravel-adjacent" workstream. If your roadmap includes extracting a package or service out of a Laravel app, this is evidence that Dusk's browser automation layer can travel with the code rather than being re-platformed.
  • Use cases it directly enables: smoke tests on a legacy PHP admin panel; regression coverage for a package's own test suite; validating third-party integrations (payment redirects, SSO flows) that unit tests cannot reach; CI gating for a small non-Laravel product where a full framework install would be disproportionate.
  • Vendor and dependency governance decisions. An archived repository is itself a product decision input: it belongs on a dependency-risk register, with an owner, a review date, and an exit criterion — not in a greenfield architecture.
  • Buy signal for adjacent tooling. Because the package is thin and archived, the strategic decision it most often supports is not "adopt" but "budget for a maintained alternative" (Playwright, Symfony Panther, or full Laravel Dusk if Laravel is acceptable).

When to Consider This Package

Consider it when all of the following hold:

  • You have a non-Laravel PHP codebase and want Chrome-based end-to-end tests with a Dusk-like API ($browser->visit()->assertSee()), avoiding a full Laravel install purely for testing.
  • The need is tactical and time-boxed — a migration window, a compliance deadline, a release-gating gap — measured in weeks or a couple of quarters, not years.
  • Your team already knows Dusk idioms, so the learning cost is near zero and the value is in portability, not novelty.
  • You can pin and vendor the dependency (Composer lockfile, internal fork, or mirrored source) and accept ownership of patching it yourselves.
  • The blast radius of the dependency failing is test-only — it does not ship in production, so a break degrades CI rather than customer experience.

Look elsewhere when any of the following hold:

  • Archived status and low community signal (84 stars) are disqualifying. No upstream fixes for new Chrome/PHP versions, no security response, no compatibility guarantees. For anything long-lived, this is a hard no.
  • You are already on Laravel — use first-party laravel/dusk; this package adds nothing.
  • You need cross-browser, mobile, or visual-regression coverage — Playwright, Cypress, or Percy-class tooling are the correct defaults.
  • You need active maintenance, SLAs, or a support contract — a single-maintainer, archived Apache-2.0 project cannot provide them.
  • You want parallelism, tracing, or rich CI diagnostics out of the box; modern alternatives have far deeper ecosystems.
  • Your organization has a policy against unmaintained dependencies — respect it; the low opportunity signal here reinforces that policy rather than arguing around it.

How to Pitch It (Stakeholders)

For executives — one line: A small, permissively licensed (Apache-2.0) utility that lets a non-Laravel PHP product use Laravel's browser-testing style without adopting Laravel. It is a cheap tactical bridge, not a strategic platform — archived upstream, single maintainer, minimal community. Recommend use only inside a bounded migration or coverage-gap window, with a named owner and an exit date.

For engineering — the honest version: It works, it is narrow, and it is unmaintained. Treat it as test-only, vendored, and pinned. Value is real where a team already knows Dusk and the alternative is a framework install or months of delay. Costs are ongoing: we own compatibility with new PHP and Chrome releases, and we own the eventual replacement. Budget the migration to Playwright or Symfony Panther at the same time you approve adoption — otherwise we accumulate quiet technical debt in the one place (test infrastructure) where debt is hardest to see.

Decision requested: Approve as a time-boxed exception with a dependency-register entry, a pinned version, and a review at the next planning cycle — or decline and fund the maintained alternative now. Do not approve it as a default.

Weaver

How can I help you explore Laravel packages today?

Conversation history is not saved when not logged in.
Prompt
Add packages to context
No packages found.
tequilarapido/trackit
gregsphotography/site-builder-filament
cabaoctavio/laravel-query-log
gregsphotography/site-builder-components
io-digital/clickatell
snowsoft/laravel-admin
oxygen/auth
relicsoftware/barakah-payment-gateway
tobya/work-with-composer
equipc/laravel-email-validator
equipc/laravel-email-database-log
adedsec/nova-translated-labels
wazza/laravel-db-encryption
hokny/laravel-generator
vonsogt/backup
jengo/queues
jeremykenedy/laravel-observability
coleus/frame
thtg88/journalism
filagora/filagora-ai-forums