|
Package
|
Score
|
Description
|
Stars
|
Likes
|
Forks
|
Downloads
|
Issues
|
Score
|
Opportunity
|
License
|
Last Release
|
|
|---|---|---|---|---|---|---|---|---|---|---|---|---|
| mpyw/mockery-pdo | 0.90 | 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 | |
| imanghafoori/eloquent-mockery | 0.89 | — | 127 | 127 | 20 | 566 | 4 | 2.7 | 11.6 | MIT | 1 year 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.6 | 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 | 208 | 0 | 0.6 | 13.0 | 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). | 369 | 374 | 20 | 610K | 3 | 21.6 | 50.1 | WTFPL | 4 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 | 233 | 2 | 1.4 | 14.2 | — | — | |
| belsym/test-bundle | 0.86 | — | 1 | 1 | 0 | 0 | 0 | 0.0 | — | MIT | — | |
| php-mock/php-mock-mockery | 0.86 | Integrates php-mock with Mockery to mock PHP built-in functions in tests. Create namespaced function mocks with PHPMockery::mock() and set expectations/returns, then call Mockery::close(). Supports only unqualified calls; define early if needed. | 39 | 39 | 5 | 71K | 2 | 1.2 | 55.3 | WTFPL | 1 year 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 | 18K | 1 | 16.0 | — | GPL-3.0 | 3 months ago | |
| helmich/mongomock | 0.86 | — | 29 | 29 | 23 | 471 | 1 | 3.3 | 17.6 | MIT | 4 years ago | |
| 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 | — | |
| 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,807 | 465 | 9M | 105 | 68.0 | 62.0 | BSD-3-Clause | 2 years 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 | — | 151 | 153 | 15 | 14K | 1 | 10.3 | 27.2 | 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 | — | 790 | 790 | 134 | 19K | 40 | 27.4 | 34.4 | 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 | 792 | 0 | 2.6 | 25.7 | 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. | 171 | 174 | 20 | 276K | 4 | 21.9 | 50.0 | WTFPL | 4 months ago | |
| amranidev/laracombee | 0.84 | 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+. | 115 | 115 | 9 | 905 | 0 | 21.3 | 15.0 | MIT | 2 months ago |
How can I help you explore Laravel packages today?