php-mock/php-mock-phpunit
Integrate php-mock with PHPUnit to mock built-in PHP functions (like time(), file_get_contents(), etc.) in a controlled, namespaced way. Ideal for unit tests that need to simulate IO, time, and other global behaviors without changing production code.
|
Package
|
Constraint
|
|---|---|
| php-mock/php-mock-integration | ^3.0 |
| phpunit/phpunit | ^6 || ^7 || ^8 || ^9 || ^10.0.17 || ^11 || ^12.0.9 || ^13 |
|
Package
|
Constraint
|
|---|---|
| mockery/mockery | ^1.3.6 |
How can I help you explore Laravel packages today?