|
Package
|
Score
|
Description
|
Stars
|
Likes
|
Forks
|
Downloads
|
Issues
|
Score
|
Opportunity
|
License
|
Last Release
|
|
|---|---|---|---|---|---|---|---|---|---|---|---|---|
| imanghafoori/eloquent-mockery | 0.87 | — | 127 | 127 | 20 | 714 | 4 | 2.7 | 12.8 | MIT | 2 years ago | |
| psr-mock/http | 0.87 | 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 | |
| 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 | 132 | 0 | 0.6 | 10.6 | MIT | 10 years ago | |
| php-mock/php-mock | 0.87 | 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 | |
| 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 | — | — | |
| belsym/test-bundle | 0.86 | — | 1 | 1 | 0 | 0 | 0 | 0.0 | — | MIT | — | |
| helmich/mongomock | 0.86 | — | 29 | 29 | 23 | 491 | 1 | 3.3 | 17.6 | MIT | 4 years ago | |
| bentools/doctrine-static | 0.86 | 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 | 19 | 0 | 0.0 | 12.0 | — | — | |
| dosfarma/testing | 0.86 | Laravel testing helpers for Dosfarma projects. Provides lightweight utilities and abstractions to speed up PHPUnit/Pest setup, fakes, and common assertions across apps and packages, helping you write clearer, reusable tests with less boilerplate. | 0 | 0 | 1 | 0 | 0 | 0.0 | — | MIT | — | |
| 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 | 1K | 0 | 0.9 | 39.7 | — | 8 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 | |
| mcustiel/phiremock-common | 0.86 | 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 | 16.2 | 53.8 | GPL-3.0 | 4 months ago | |
| avris/function-mock | 0.86 | 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 | — | — | — | |
| mcustiel/phiremock | 0.86 | — | 150 | 153 | 15 | 8K | 1 | 10.3 | 23.9 | GPL-3.0 | 5 years ago | |
| psr-mock/http-client-implementation | 0.86 | 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 | |
| codeception/aspect-mock | 0.85 | — | 785 | 791 | 134 | 15K | 40 | 27.4 | 33.0 | MIT | 4 years ago | |
| psr-mock/http-factory-implementation | 0.85 | 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 | |
| sofa/eloquent-testsuite | 0.85 | — | 10 | 10 | 2 | 862 | 0 | 2.6 | 26.2 | MIT | 5 years 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. | 172 | 174 | 20 | 228K | 4 | 19.0 | 47.6 | WTFPL | 6 months ago | |
| graham-campbell/testbench-core | 0.85 | 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. | 15 | 17 | 0 | 6K | 0 | 21.6 | 39.2 | MIT | 4 months ago |
How can I help you explore Laravel packages today?