php-mock is a lightweight PHP library for dynamically creating mock objects for classes and interfaces and functions. It enables easy method mocking, supports class inheritance and interface implementation, and allows flexible customization of mock behavior, making it ideal for unit testing.
mock php object oop mocking closures mocker php8 mock-functions php-mocking mock-object-pattern mock-obj php-moc
-
Updated
Mar 20, 2025 - PHP