|
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 | |
| avris/function-mock | 0.88 | Mock PHP functions in unit tests without changing your code. avris/function-mock lets you replace and control built-in and user-defined function calls at runtime, making it easier to test legacy code, edge cases, and hard-to-isolate behavior. | 0 | 0 | — | 0 | — | 0.0 | — | — | — | |
| psr-mock/http | 0.88 | 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 | |
| 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 | — | — | |
| lendable/phpunit-extensions | 0.87 | — | 2 | 2 | 0 | 5K | 1 | 12.7 | 50.0 | MIT | 7 months ago | |
| polishsymfonycommunity/symfony2-mocker-extension | 0.87 | 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 | |
| console-helpers/prophecy-phpunit | 0.87 | PHPUnit integration helpers for Prophecy, providing convenience traits and utilities to streamline mock creation, prophecy assertions, and cleanup in your test suite. Designed to reduce boilerplate and keep Prophecy-based unit tests tidy and consistent. | 0 | 0 | 1 | 91 | 0 | 15.5 | 30.7 | MIT | 4 months ago | |
| bneumann/mock-api-bundle | 0.87 | — | 2 | 2 | 0 | 0 | 0 | 0.0 | — | MIT | — | |
| bentools/doctrine-static | 0.87 | Lightweight in-memory Doctrine mock for unit tests. Create ObjectManagers in a ManagerRegistry, persist/remove and flush to a temporary store, and use repository methods like find, findBy, findOneBy, and findAll. Not for real persistence. | 2 | 3 | 0 | 55 | 0 | 0.0 | 17.8 | — | — | |
| mcustiel/phiremock | 0.87 | — | 150 | 152 | 15 | 8K | 1 | 10.3 | 24.0 | GPL-3.0 | 5 years ago | |
| mpyw/laravel-database-mock | 0.87 | — | 6 | 6 | 0 | 975 | 0 | 17.1 | 33.8 | MIT | 3 months ago | |
| mcustiel/phiremock-client | 0.87 | 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 | |
| belsym/test-bundle | 0.86 | — | 1 | 1 | 0 | 0 | 0 | 0.0 | — | MIT | — | |
| amranidev/laracombee | 0.86 | Laravel package for the Recombee recommendation API. Manage users, items, and interactions, and fetch personalized recommendations with a Laravel-friendly interface—ideal for e-commerce, media libraries, and marketplaces. Compatible with Laravel 10–12, PHP 8.2+. | 114 | 115 | 8 | 1K | 0 | 16.9 | 15.7 | MIT | 5 months ago | |
| php-mock/php-mock-phpunit | 0.85 | 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. | 173 | 176 | 20 | 236K | 4 | 17.9 | 47.4 | WTFPL | 7 months 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 | |
| codeception/aspect-mock | 0.85 | — | 785 | 791 | 133 | 14K | 40 | 27.4 | 32.9 | MIT | 4 years ago | |
| mcustiel/phiremock-common | 0.85 | Shared utilities for the Phiremock PHP ecosystem. Provides common classes, interfaces, and helpers used across related packages to simplify building and consuming Phiremock client/server components with consistent behavior and minimal duplication. | 3 | 3 | 5 | 13K | 1 | 15.5 | 53.4 | GPL-3.0 | 6 months ago |
How can I help you explore Laravel packages today?