|
Package
|
Score
|
Description
|
Stars
|
Likes
|
Forks
|
Downloads
|
Issues
|
Score
|
Opportunity
|
License
|
Last Release
|
|
|---|---|---|---|---|---|---|---|---|---|---|---|---|
| psr-mock/http-client-implementation | 0.88 | Tiny PSR-18 HTTP client implementation intended for mocking and testing. Provides a simple client you can plug into PSR-7/PSR-17 workflows to return predefined responses without real network calls. | 1 | 1 | 0 | 3K | 0 | 0.6 | 43.7 | MIT | 2 years ago | |
| wiremock-php/wiremock-php | 0.88 | PHP client for WireMock to stub and mock HTTP APIs in tests. Create mappings, set expectations, verify requests, manage scenarios, and reset state via WireMock’s admin API. Useful for integration tests and local development without real services. | 91 | 91 | 15 | 39K | 1 | 17.2 | 40.8 | MIT | 6 months ago | |
| eloquent/phony-phpunit | 0.87 | Integration of the Phony mocking/stubbing library with PHPUnit, providing helpers to use Phony in your test suite. Note: this package is no longer maintained; see the linked statement and consider alternatives or the main Phony repo. | 6 | 6 | 3 | 713 | 0 | 1.6 | 19.7 | MIT | 5 years ago | |
| janmarek/mockista | 0.87 | Mockista is a lightweight mocking library for PHP/Laravel that helps you create and configure test doubles quickly. Define expectations, stub methods, and verify calls with a simple, fluent API to keep unit tests fast, readable, and maintainable. | 29 | 29 | 14 | 1K | 2 | 1.4 | 23.2 | — | — | |
| mpyw/laravel-database-mock | 0.87 | — | 6 | 6 | 0 | 975 | 0 | 17.1 | 33.8 | MIT | 3 months ago | |
| psr-mock/http | 0.86 | 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 | 2K | 0 | 0.6 | 41.3 | MIT | 2 years ago | |
| mockery/mockery | 0.86 | Mockery is a flexible PHP mock object framework for unit testing with PHPUnit, PHPSpec, and more. It provides a readable DSL to define expectations and interactions, integrates cleanly with PHPUnit, and can be used alongside PHPUnit’s own mocking tools. | 10,724 | 10,810 | 469 | 11M | 87 | 87.7 | 76.5 | BSD-3-Clause | 1 month ago | |
| psr-mock/http-factory-implementation | 0.86 | Lightweight PSR-17/PSR-7 HTTP factory/message mock implementation for PHP 8.1+. Built for SDKs and libraries to test against PSR interfaces without hard deps, with strict PSR compliance and helpful debugging API. | 0 | 0 | 0 | 3K | 0 | 0.6 | 47.8 | MIT | 2 years ago | |
| polishsymfonycommunity/symfony2-mocker-extension | 0.86 | Behat extension for Symfony2 that lets you mock services in the dependency injection container during tests. Built on Mockery and SymfonyMockerContainer. Consider it a hack and use sparingly; alternative: TestDoubleBundle. | 26 | 26 | 7 | 176 | 0 | 0.6 | 10.6 | MIT | 10 years ago | |
| mcustiel/phiremock-client | 0.86 | 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 | 11K | 1 | 17.1 | 43.6 | GPL-3.0 | 5 months ago | |
| sofa/eloquent-testsuite | 0.86 | — | 10 | 10 | 2 | 902 | 0 | 2.6 | 26.5 | MIT | 5 years ago | |
| phake/phake | 0.86 | 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. | 477 | 486 | 86 | 57K | 13 | 27.6 | 37.6 | NOASSERTION | 7 months ago | |
| boson-php/http-static-provider | 0.86 | Laravel/PHP package that provides a static HTTP provider for Boson, useful for serving fixed responses in tests, mocks, or offline scenarios. Simple setup to return predefined status, headers, and body without making real network requests. | 0 | 0 | 0 | 13 | 0 | 0.0 | 15.8 | MIT | — | |
| guzzle/plugin-mock | 0.86 | guzzle/plugin-mock provides a mock plugin for Guzzle, letting you queue predefined responses and simulate HTTP requests during testing. Useful for isolating API clients, reproducing edge cases, and running fast, reliable unit tests without real network calls. | 3 | 3 | 0 | 991 | 0 | 0.0 | 33.1 | — | — | |
| mcustiel/phiremock-server | 0.86 | 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 | 19.8 | 45.0 | GPL-3.0 | 5 months ago | |
| codeception/aspect-mock | 0.85 | — | 785 | 791 | 133 | 14K | 40 | 27.4 | 32.9 | MIT | 4 years ago | |
| imanghafoori/eloquent-mockery | 0.85 | — | 127 | 127 | 20 | 804 | 4 | 2.7 | 13.4 | MIT | 2 years ago | |
| bneumann/mock-api-bundle | 0.85 | — | 2 | 2 | 0 | 0 | 0 | 0.0 | — | MIT | — | |
| psr-mock/http-message-implementation | 0.85 | Lightweight PSR-7 HTTP message implementation mock for testing libraries and SDKs without hard dependencies. Strictly follows PSR behavior and includes a developer-friendly API to debug and fix failing tests faster. For dev use only (PHP 8.1+). | 0 | 0 | 1 | 3K | 0 | 0.6 | 48.1 | MIT | 2 years ago | |
| mpyw/mockery-pdo | 0.85 | Experimental BDD-style PDO mocking library built on mockery/mockery. Define expectations for prepare/bind/execute and return rows via fetch/fetchAll in a fluent API, making PDO-based code easy to test on PHP 8.2+. | 3 | 3 | 2 | 731 | 1 | 7.9 | 33.1 | MIT | 8 months ago |
How can I help you explore Laravel packages today?