|
Package
|
Score
|
Description
|
Stars
|
Likes
|
Forks
|
Downloads
|
Issues
|
Score
|
Opportunity
|
License
|
Last Release
|
|
|---|---|---|---|---|---|---|---|---|---|---|---|---|
| allprogrammic/redis-client | 0.85 | — | 1 | 1 | 0 | 138 | 0 | 0.0 | 25.5 | MIT | — | |
| dawen/phpredis-bundle | 0.84 | — | 2 | 3 | 2 | 0 | 2 | 0.6 | 0.4 | NOASSERTION | — | |
| psr-mock/http | 0.84 | 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 | |
| mpyw/laravel-database-mock | 0.84 | — | 6 | 6 | 0 | 3K | 0 | 19.6 | 42.8 | MIT | 1 month ago | |
| codeception/module-redis | 0.83 | Codeception Redis module for functional and acceptance tests. Provides helpers to connect to Redis, flush/select databases, set/get keys, and assert cache and data state during tests, making Redis-backed features easy to verify in your test suite. | 1 | 1 | 8 | 41K | 0 | 17.6 | 61.8 | MIT | 5 months ago | |
| josiasmontag/laravel-redis-mock | 0.83 | Drop-in Redis mock for Laravel tests using Redis PHP Mock. Adds a “mock” Redis client so you can run test suites without a running Redis server. Enable via REDIS_CLIENT=mock in .env.testing/phpunit.xml; works with Testbench for package dev. | 47 | 47 | 11 | 31K | 2 | 15.9 | 43.1 | MIT | 4 months ago | |
| janmarek/mockista | 0.82 | 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 | — | — | |
| imanghafoori/eloquent-mockery | 0.80 | — | 127 | 127 | 20 | 714 | 4 | 2.7 | 12.8 | MIT | 2 years ago | |
| reecem/mocker | 0.77 | A lightweight Laravel-friendly mocking helper for PHP tests. Quickly define and swap mocks, set expectations, and control return values to simplify unit and feature testing. Designed to reduce boilerplate and keep test setup clean and readable. | 7 | 7 | 16 | 1K | 2 | 4.3 | 31.0 | MIT | 3 years ago | |
| php-http/mock-client | 0.77 | Mock HTTP client for HTTPlug/PHP-HTTP. Stores outgoing requests and returns queued responses or throws exceptions instead of making real network calls—ideal for unit tests of HTTP-dependent code. Install via Composer as a dev dependency. | 71 | 75 | 17 | 231K | 0 | 6.1 | 48.4 | MIT | 1 year ago | |
| php-mock/php-mock-mockery | 0.77 | 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 | 69K | 2 | 1.9 | 44.6 | WTFPL | 1 year ago | |
| php-mock/php-mock | 0.77 | 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 | 5 months ago | |
| mpyw/mockery-pdo | 0.76 | 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 | 1K | 1 | 9.9 | 37.7 | MIT | 6 months ago | |
| donatj/mock-webserver | 0.76 | Lightweight PHP mock web server for tests and local development. Spin up an HTTP server on a random port, enqueue canned responses, inspect received requests, and simulate endpoints reliably. Handy for integration tests without external services. | 139 | 140 | 22 | 55K | 5 | 23.8 | 42.1 | MIT | 5 months ago | |
| mockery/mockery | 0.76 | 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,811 | 466 | 10M | 106 | 68.0 | 62.4 | BSD-3-Clause | 2 years ago |
How can I help you explore Laravel packages today?