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.
|
Package
|
Constraint
|
|---|---|
| phpunit/phpunit | ^12 || ^13 |
|
Package
|
Constraint
|
|---|---|
| friendsofphp/php-cs-fixer | ^3 |
| pedrotroller/php-cs-custom-fixer | ^2 |
| phpstan/phpstan | ^2 |
| phpstan/phpstan-phpunit | ^2 |
| phpstan/phpstan-strict-rules | ^2 |
| symfony/service-contracts | ^3 |
How can I help you explore Laravel packages today?