|
Package
|
Score
|
Description
|
Stars
|
Likes
|
Forks
|
Downloads
|
Issues
|
Score
|
Opportunity
|
License
|
Last Release
|
|
|---|---|---|---|---|---|---|---|---|---|---|---|---|
| mcustiel/phiremock-server | 0.83 | PHP HTTP mock/stub server inspired by WireMock. Mock requests by method/headers/URL/body/forms, set responses via REST API, support scenarios, priorities, latency simulation, verification counts, proxying, and loading expectations from JSON files. | 19 | 19 | 6 | 15K | 1 | 20.3 | 45.8 | GPL-3.0 | 2 months ago | |
| mcustiel/phiremock-client | 0.82 | PHP client for Phiremock Server with a fluent API to define HTTP expectations, manage scenarios, and reset server state. Works with Guzzle 6 by default, or any PSR-18 HTTP client by overriding the factory for custom connections. | 16 | 16 | 9 | 14K | 1 | 20.0 | 46.6 | GPL-3.0 | 2 months ago | |
| php-mock/php-mock-mockery | 0.80 | Integrates php-mock with Mockery to mock PHP built-in functions in tests. Create namespaced function mocks with PHPMockery::mock() and set expectations/returns, then call Mockery::close(). Supports only unqualified calls; define early if needed. | 39 | 39 | 5 | 73K | 2 | 1.9 | 45.0 | WTFPL | 1 year ago | |
| reecem/mocker | 0.78 | A lightweight Laravel-friendly mocking helper for PHP tests. Quickly define and swap mocks, set expectations, and control return values to simplify unit and feature testing. Designed to reduce boilerplate and keep test setup clean and readable. | 7 | 7 | 16 | 2K | 2 | 4.3 | 32.2 | MIT | 3 years ago | |
| psr-mock/http | 0.78 | psr-mock/http is a tiny PHP package for mocking PSR-7 HTTP messages in tests. Create predictable request/response objects without a full HTTP client, helping you unit test middleware, clients, and services with minimal setup. | 1 | 1 | 0 | 1K | 0 | 0.6 | 39.6 | MIT | 2 years ago | |
| php-mock/php-mock | 0.78 | Mock built-in PHP functions like time() or rand() in tests by leveraging PHP’s namespace fallback: define namespaced replacements for unqualified calls. Works in non-global namespaces; supports common test frameworks via integrations (e.g., PHPUnit). | 369 | 374 | 20 | 581K | 3 | 20.8 | 49.4 | WTFPL | 4 months ago | |
| php-http/mock-client | 0.77 | Mock HTTP client for HTTPlug/PHP-HTTP. Stores outgoing requests and returns queued responses or throws exceptions instead of making real network calls—ideal for unit tests of HTTP-dependent code. Install via Composer as a dev dependency. | 71 | 75 | 17 | 227K | 0 | 6.1 | 48.3 | MIT | 1 year ago | |
| php-mock/php-mock-phpunit | 0.77 | 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. | 171 | 174 | 20 | 270K | 4 | 21.6 | 49.8 | WTFPL | 4 months ago | |
| phake/phake | 0.71 | Phake is a PHP mocking framework for PHPUnit and other test runners. Create mocks, stubs, and spies with a simple API, verify method calls and arguments, and define return values or exceptions—ideal for fast, isolated unit tests. | 475 | 484 | 86 | 66K | 13 | 31.3 | 39.7 | NOASSERTION | 4 months ago |
How can I help you explore Laravel packages today?