pkly/phpunit-service-create-trait
A PHPUnit 12+ trait (PHP 8.4+) that builds real service instances with auto-mocked constructor and #[Required] dependencies. Dependencies stay as invisible stubs until fetched, so you only get mock verification where you ask for it.
Full Changelog: https://github.com/pkly/phpunit-service-create-trait/compare/1.2.0...1.2.1
Full Changelog: https://github.com/pkly/phpunit-service-create-trait/compare/1.1.1...1.2.0
Some long forgotten cleanup
Fix not using default values if a mock cannot be created.
How can I help you explore Laravel packages today?