josiasmontag/laravel-redis-mock
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.
|
Package
|
Score
|
Description
|
Stars
|
Likes
|
Forks
|
Downloads
|
Issues
|
Score
|
Opportunity
|
License
|
Last Release
|
|
|---|---|---|---|---|---|---|---|---|---|---|---|---|
| dosfarma/testing | 0.83 | 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 | — | |
| allprogrammic/redis-client | 0.83 | — | 1 | 1 | 0 | 138 | 0 | 0.0 | 25.5 | MIT | — | |
| mcustiel/phiremock | 0.82 | — | 150 | 153 | 15 | 8K | 1 | 10.3 | 23.9 | GPL-3.0 | 5 years 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 | — | — | |
| psr-mock/http | 0.82 | 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 | |
| mcustiel/phiremock-common | 0.82 | 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 | |
| psr-mock/http-client-implementation | 0.82 | 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 | |
| colinmollenhour/credis | 0.82 | A lightweight PHP Redis client focused on performance and reliability. Provides a simple API built on the native phpredis extension, with support for connections, pipelines, transactions, and cluster/sentinel use cases—ideal for Laravel and other PHP apps. | 363 | 371 | 143 | 625K | 1 | 25.8 | 49.6 | MIT | 5 months ago | |
| amranidev/laracombee | 0.82 | 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 | 1K | 0 | 18.4 | 15.3 | MIT | 4 months ago | |
| jcchavezs/httptest | 0.82 | Spin up a lightweight local HTTP server for integration testing real HTTP calls (e.g., cURL). Define a request handler to assert method/headers/body and craft responses, enabling client- and server-side assertions without mocking HTTP. | 9 | 9 | 1 | 199 | 2 | 1.7 | 18.2 | — | 8 years ago | |
| imanghafoori/eloquent-mockery | 0.82 | — | 127 | 127 | 20 | 714 | 4 | 2.7 | 12.8 | MIT | 2 years ago | |
| graham-campbell/testbench-core | 0.82 | 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 | |
| mpyw/mockery-pdo | 0.82 | 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 | 7 months ago | |
| sofa/eloquent-testsuite | 0.82 | — | 10 | 10 | 2 | 862 | 0 | 2.6 | 26.2 | MIT | 5 years ago | |
| m6web/redis-mock | 0.82 | — | 83 | 83 | 58 | 49K | 15 | 15.5 | 42.4 | MIT | 3 years ago | |
| dawen/phpredis-bundle | 0.81 | — | 2 | 3 | 2 | 0 | 2 | 0.6 | 0.4 | NOASSERTION | — | |
| avris/function-mock | 0.81 | 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 | — | — | — | |
| tmarsteel/mockery-callable-mock | 0.81 | 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 | |
| lendable/phpunit-extensions | 0.81 | — | 2 | 2 | 0 | 5K | 1 | 13.5 | 49.6 | MIT | 5 months ago | |
| belsym/test-bundle | 0.81 | — | 1 | 1 | 0 | 0 | 0 | 0.0 | — | MIT | — |
How can I help you explore Laravel packages today?