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

Laravel Dusk Select2 Laravel Package

roquie/laravel-dusk-select2

Laravel Dusk Select2 adds a simple helper for interacting with Select2 dropdowns in Dusk browser tests. Pick options by visible text or value without fragile JavaScript workarounds, keeping your end-to-end tests readable and reliable.

View on GitHub
Deep Wiki
Context7

Product Decisions This Supports

  • Build vs. buy for browser/E2E test tooling. The 2.1.0 shift to depend only on laravel/dusk rather than the full laravel/framework is the decision-relevant change: it materially shrinks the transitive dependency surface a consuming app inherits. That lowers the "buy" cost (integration, upgrade and CVE-triage effort) for teams already on Dusk and makes the package defensible as a thin add-on rather than a framework-in-a-box.
  • Roadmap sequencing for QA/CI investment. The release is almost entirely maintenance (PHPUnit schema migration, namespaced tests, dependency refresh, CI fix, new CI Docker image, composer.lock removed). Read this as a signal that the maintainer is prioritising hygiene over new capability — safe to adopt, but do not plan roadmap bets on a stream of new features landing soon.
  • Major-version upgrade planning. The 1.x → 2.x dependency change is the kind of delta that can ripple into a consumer's composer.json constraints and locked Laravel version. This supports an explicit "upgrade 1.x → 2.x" backlog item with a spike, rather than an assumption that it's a drop-in patch.
  • Testing-strategy standardisation. If Dusk is already the house standard for browser smoke tests, this package is a low-risk complement; if the org is standardising on Playwright/Cypress, this becomes a decision to not adopt rather than to evaluate.
  • Not supported by this release: no performance, coverage, or reliability claims can be made. There is no benchmark, adoption, or issue-tracker data in the release notes, so any business case must rest on the dependency-footprint argument above plus your own pilot results.

When to Consider This Package

Consider adoption when:

  • Your application is Laravel/PHP and laravel/dusk is already, or is about to be, in the dependency tree — 2.1.0 means this package adds little beyond Dusk itself.
  • You are on 2.x already, or are willing to spend a short spike validating a 1.x → 2.x jump (constraint changes, PHPUnit schema compatibility, CI image changes).
  • Your team is small and lacks dedicated QA tooling ownership; a thin, framework-aligned wrapper is cheaper to maintain than a bespoke harness.
  • You can absorb a maintenance-only cadence — expect dependency bumps and CI fixes, not features.

Look elsewhere when:

  • You are testing a JS-heavy SPA or need broad, parallel cross-browser coverage at scale — Playwright or Cypress remain the stronger strategic bet.
  • Anything in your stack pins laravel/framework in a way that conflicts with the Dusk-only dependency model; verify in a branch before committing.
  • You require vendor guarantees: a single-maintainer package with a maintenance-only release history is a continuity risk that should be logged, not assumed away.
  • You need evidence of quality — this release tells you tests exist and CI runs, but gives no coverage or flake data. Treat "tests updated / CI fixed" as a floor, not a proof.

Adoption gate before rollout: pin to 2.1.x, run your own suite against it, confirm the new CI Docker image is irrelevant to your pipeline (it is the maintainer's, not yours), and check that removing composer.lock from the package does not affect your lock resolution.

How to Pitch It (Stakeholders)

For executives: This is a routine quality release for a small testing-utility package, with one change that matters commercially — it no longer drags the entire Laravel framework in as a dependency, which reduces what we inherit and have to patch. There is no new functionality and no cost to us if we stay put. Recommended position: approve a small, timeboxed evaluation (roughly a day of engineering) to confirm the 2.x line works in our stack, and hold off on any broader standardisation decision until that pilot reports back. Risk to note: single-maintainer dependency, maintenance-only release cadence.

For engineering: 2.1.0 is housekeeping plus a dependency narrowing — back onto native laravel/dusk instead of full laravel/framework (the 1.x behaviour), tests namespaced and migrated to the new PHPUnit schema, dependencies refreshed, composer.lock removed (correct for a library), and CI Docker image replaced. Nothing here is announced as breaking, but the 2.x dependency model differs from 1.x, so validate constraint resolution and PHPUnit config compatibility in a branch before bumping. Ask for: a lockfile diff, a green CI run against our suite, and confirmation that our PHPUnit version satisfies the new schema.

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.
uni-method/symfony-lib
tacticmedia/scim-server-bundle
neika-ai/symfony-bundle
mattleads/agent-publishing-bundle
glavweb/framework-bundle
glavweb/extra-bundle
glavweb/api-bundle
glavweb/admin-bundle
adachsoft/api-version-bundle
elsayed85/laravel-api-exceptions
ouhssini/laravel-demo-mode
daworks/ncloud-outbound-mailer-driver
gp247/cms
ignibyte/aic-gates
nexa-merchant/blog
novasa/laravel-language-center
opencage/geocode
adolfoholzer/parameters
livenetworks/ln-starter
cgv/localized-resource