php-mock/php-mock-integration
Integration layer for php-mock, making it easy to use PHP function mocks within popular test frameworks. Helps you stub built-in functions like time(), rand(), and file operations in specific namespaces, enabling reliable, isolated unit tests without touching global state.
|
Package
|
Constraint
|
|---|---|
| php-mock/php-mock | ^2.5 |
| phpunit/php-text-template | ^1 || ^2 || ^3 || ^4 || ^5 || ^6 |
|
Package
|
Constraint
|
|---|---|
| phpunit/phpunit | ^5.7.27 || ^6 || ^7 || ^8 || ^9 || ^10 || ^11 || ^12 || ^13 |
How can I help you explore Laravel packages today?