polishsymfonycommunity/mockery-bundle
Symfony bundle that integrates Mockery into the dependency injection container. Autowire the Mockery service, build container-aware mocks, and simplify test doubles in unit and functional tests without manual setup or boilerplate.
polishsymfonycommunity/mockery-bundle is a Symfony Bundle that integrates Mockery with Symfony’s service container so services can be mocked in Behat. Laravel is not Symfony Bundle-based and already includes native Mockery support plus container/facade test helpers. Adopting this would add a Symfony-specific abstraction for behavior Laravel already supports.$this->mock(), $this->partialMock(), facade mocking, and app()->instance() for container substitution. If Behat is required, use a Laravel-aware Behat bootstrap and Laravel-native test doubles rather than a Symfony Bundle.How can I help you explore Laravel packages today?