bex/behat-extension-driver-locator
Dynamic driver/service loader for Behat extensions. Locates drivers by key in a namespace, enforces interfaces, builds and validates per-driver config trees, and loads services via DI container. Includes a DriverNodeBuilder to generate driver config nodes.
behat.yml without code changes.behat-aws-s3-driver) for community adoption.active_drivers: [s3, local]).Adopt When:
behat.yml already uses Symfony’s config system (this package extends it).Look Elsewhere If:
mink-selenium-driver).ArrayNodeDefinition).php-di for DI-based solutions).*"This package lets us future-proof our Behat test suite by enabling dynamic, configurable drivers—like swapping AWS S3 for local storage without code changes. It’s a lightweight, open-source solution that reduces technical debt and aligns with our goal of modular, scalable test automation. For example, we could use it to:
*"This is a batteries-included driver loader for Behat extensions. It handles:
App\Drivers).DriverInterface).ContainerBuilder injected.behat.yml (e.g., active_drivers: [s3]).Why use it?
SlackNotifierDriver without touching core code).Trade-offs:
ArrayNodeDefinition for setup.Proposal:
behat-file-uploader) to validate ROI.README-DRIVERS.md).How can I help you explore Laravel packages today?