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.
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.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.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.Consider adoption when:
laravel/dusk is already, or is about to be, in the dependency tree — 2.1.0 means this package adds little beyond Dusk itself.Look elsewhere when:
laravel/framework in a way that conflicts with the Dusk-only dependency model; verify in a branch before committing.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.
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.
How can I help you explore Laravel packages today?