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.
This is a support package for PHP-Mock integration into other frameworks. You'll find these integrations:
php-mock/php-mock-phpunit - PHPUnit integration
php-mock/php-mock-mockery - Mockery integration
php-mock/php-mock-prophecy - Prophecy (phpspec) integration
This project is free and under the WTFPL. Responsable for this project is Markus Malkusch markus@malkusch.de.
If you like PHP-Mock and feel generous donate a few Bitcoins here: 1335STSwu9hST4vcMRppEPgENMHD2r1REK
How can I help you explore Laravel packages today?