bovigo/callmap
Stub and mock PHP method and function calls via a callmap. Define fixed returns, callbacks, consecutive results, or thrown exceptions, then verify invocations and arguments. Works with any unit test framework; argument checks via bovigo/assert or PHPUnit.
|
Package
|
Constraint
|
|---|---|
| bovigo/assert | ^8.1 |
|
Package
|
Constraint
|
|---|---|
| phpunit/phpunit | ^11.5 || ^12.4 |
How can I help you explore Laravel packages today?