codeception/stub
Create lightweight test doubles for PHP with Codeception Stub. Quickly generate stubs and mocks, define method returns and expectations, and override behavior on the fly—ideal for unit tests that need fast, flexible objects without full implementations.
Flexible Stub wrapper for PHPUnit's Mock Builder
How can I help you explore Laravel packages today?