|
Package
|
Score
|
Description
|
Stars
|
Likes
|
Forks
|
Downloads
|
Issues
|
Score
|
Opportunity
|
License
|
Last Release
|
|
|---|---|---|---|---|---|---|---|---|---|---|---|---|
| sofa/eloquent-testsuite | 0.88 | — | 10 | 10 | 2 | 821 | 0 | 2.6 | 26.0 | MIT | 5 years 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 | 208 | 0 | 0.6 | 13.0 | MIT | 10 years ago | |
| mpyw/laravel-database-mock | 0.86 | — | 0 | 6 | — | 2K | — | 0.9 | 34.5 | — | — | |
| tmarsteel/mockery-callable-mock | 0.86 | Create Mockery-friendly callable/function mocks in PHP. Set expectations (with args, counts), return values, stubs, and verify calls or non-calls. Can also wrap a real callable to spy while still invoking it. Requires PHP 7+. | 1 | 1 | 1 | 2K | 0 | 0.9 | 39.6 | — | 8 years ago | |
| chaplean/unit-bundle | 0.86 | — | 0 | 0 | 0 | 0 | 0 | 0.0 | — | — | — | |
| belsym/test-bundle | 0.86 | — | 1 | 1 | 0 | 0 | 0 | 0.0 | — | MIT | — | |
| psr-mock/http | 0.85 | 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.7 | MIT | 2 years ago | |
| mcustiel/phiremock | 0.85 | — | 151 | 153 | 15 | 14K | 1 | 10.3 | 27.2 | GPL-3.0 | 5 years ago | |
| bneumann/mock-api-bundle | 0.85 | — | 2 | 2 | 0 | 0 | 0 | 0.0 | — | MIT | — | |
| mpyw/mockery-pdo | 0.85 | Mockery-PDO is a lightweight testing helper for PHP that lets you mock PDO and PDOStatement with Mockery. Useful for unit-testing database code without a real connection, controlling query/prepare/execute behavior and returned rows or errors. | 3 | 3 | 2 | 2K | 1 | 12.0 | — | MIT | 5 months ago | |
| janmarek/mockista | 0.85 | 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 | 233 | 2 | 1.4 | 14.2 | — | — | |
| phpstan/phpstan-mockery | 0.85 | PHPStan extension for Mockery: infers intersection types for mocks (Foo&MockInterface), understands shouldReceive/shouldHaveReceived/allows/expects, supports partial/alias/overload mocks, multiple interfaces, and proper constructor args for accurate static analysis. | 104 | 104 | 24 | 984K | 9 | 9.6 | 57.2 | MIT | 1 year ago | |
| acts/time-mock-bundle | 0.85 | Symfony bundle for mocking and controlling time in tests and development. Freeze, fast-forward, and reset “now” to make time-dependent code deterministic, simplify assertions, and avoid flaky tests across DateTime/Clock usage. | 0 | 0 | — | 0 | — | 0.0 | — | — | — | |
| psr-mock/http-client-implementation | 0.84 | 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 | |
| lendable/phpunit-extensions | 0.84 | — | 2 | 2 | 0 | 3K | 2 | 17.8 | 49.5 | MIT | 3 months ago | |
| imanghafoori/eloquent-mockery | 0.84 | — | 127 | 127 | 20 | 597 | 4 | 2.7 | 11.9 | MIT | 1 year ago | |
| graham-campbell/testbench-core | 0.84 | Core testing utilities for Laravel packages, maintained by Graham Campbell. Provides lightweight TestBench components compatible with Laravel 8–13, PHP 7.4–8.5, and PHPUnit 9–12 to simplify package test setup and integration. | 14 | 16 | 0 | 10K | 0 | 25.2 | 44.6 | MIT | 2 months ago | |
| mcustiel/phiremock-common | 0.83 | 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 | 18K | 1 | 16.0 | — | GPL-3.0 | 3 months ago | |
| avris/function-mock | 0.83 | 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 | — | — | — | |
| phpunit/phpunit-mock-objects | 0.83 | Default mock object library for PHPUnit. Create test doubles (mocks, stubs, spies) to isolate units under test, define expectations, control method returns, and verify interactions. Designed for PHPUnit projects and compatible with PHP 7.1+. | 0 | 5,056 | — | 603K | — | 15.2 | 20.3 | — | — |
How can I help you explore Laravel packages today?