|
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 | 2K | 0 | 0.6 | 42.5 | 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 | 41K | 1 | 18.3 | 41.7 | MIT | 5 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 | 718 | 0 | 1.6 | 19.3 | 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 | 361 | 2 | 1.4 | 16.9 | — | — | |
| mpyw/laravel-database-mock | 0.87 | — | 6 | 6 | 0 | 3K | 0 | 19.6 | 42.8 | MIT | 1 month 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 | 1K | 0 | 0.6 | 38.5 | 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,726 | 10,811 | 466 | 10M | 106 | 68.0 | 62.4 | BSD-3-Clause | 2 years 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 | 2K | 0 | 0.6 | 46.7 | MIT | 2 years ago | |
| php-mock/php-mock | 0.86 | 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). | 370 | 374 | 20 | 494K | 3 | 18.9 | 47.6 | WTFPL | 6 months 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 | 132 | 0 | 0.6 | 10.6 | MIT | 10 years ago | |
| sofa/eloquent-testsuite | 0.86 | — | 10 | 10 | 2 | 862 | 0 | 2.6 | 26.2 | 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. | 476 | 485 | 86 | 50K | 13 | 29.1 | 37.2 | NOASSERTION | 5 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 | 22 | 0 | 0.0 | 18.8 | MIT | — | |
| 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 | 12K | 1 | 18.5 | 44.4 | GPL-3.0 | 3 months ago | |
| 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 | 505 | 0 | 0.0 | 29.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 | 4 months ago | |
| codeception/aspect-mock | 0.85 | — | 785 | 791 | 134 | 15K | 40 | 27.4 | 33.0 | MIT | 4 years ago | |
| imanghafoori/eloquent-mockery | 0.85 | — | 127 | 127 | 20 | 714 | 4 | 2.7 | 12.8 | 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 | 2K | 0 | 0.6 | 46.8 | MIT | 2 years ago |
How can I help you explore Laravel packages today?