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
|
|
|---|---|---|---|---|---|---|---|---|---|---|---|---|
| namoshek/laravel-redis-sentinel | 0.85 | Adds Redis Sentinel support to Laravel's Redis driver, enabling automatic master discovery and failover-aware reconnection for high-availability setups. Sentinel hosts, service names, and options are configured through the familiar database.redis config array. | 40 | — | 23 | — | 1 | 9.6 | — | MIT | 7 months ago | |
| m6web/redis-mock | 0.84 | — | 84 | 84 | 58 | 60K | 15 | 15.5 | 43.5 | MIT | 3 years ago | |
| 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 | 3K | 0 | 0.6 | 44.8 | MIT | 2 years ago | |
| huangdijia/laravel-redis-ide-helper | 0.84 | Laravel Redis IDE Helper generates IDE autocompletion metadata for Laravel's Redis facade, exposing dynamic Redis commands and connection methods to your editor. Improve PhpStorm/IntelliJ discovery and reduce guesswork when working with Redis in Laravel apps. | 12 | — | 0 | — | 0 | 0.4 | — | MIT | 2 years ago | |
| 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 | 39.5 | MIT | 2 years ago | |
| php-http/mock-client | 0.83 | 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 | 16 | 266K | 0 | 6.0 | 49.3 | MIT | 2 years ago | |
| janmarek/mockista | 0.83 | 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 | 248 | 2 | 1.4 | 14.9 | — | — | |
| bokt/flarum-redis | 0.83 | Adds Redis support to Flarum, letting you move caching, sessions, and queued jobs into Redis for faster, more scalable forums. Configure it easily from the admin panel—ideal for high-traffic communities running multiple app servers that need shared cache and session storage. | 14 | — | 4 | — | 2 | 0.7 | 0.4 | MIT | — | |
| mix/redis | 0.83 | A lightweight Redis integration for Laravel offering a simple facade, connection management, and helpers for caching, queues, and pub/sub. Configure multiple stores, key prefixes, and serializers with minimal boilerplate. | 5 | 5 | 4 | 150 | 0 | 0.1 | 19.5 | — | — | |
| tourze/redis-dedicated-connection-bundle | 0.83 | A Symfony bundle that gives each Redis use case its own dedicated connection, keeping cache, session, and queue traffic isolated to prevent key collisions, noisy-neighbor slowdowns, and cross-purpose data leaks. Simple configuration, no manual connection wiring required. | 0 | — | 0 | — | 0 | 0.8 | — | MIT | 11 months ago | |
| donatj/mock-webserver | 0.83 | 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. | 141 | 142 | 22 | 72K | 5 | 17.6 | 42.3 | MIT | 8 months ago | |
| fof/redis | 0.83 | fof/redis adds Redis-backed cache, session, and queue drivers to Flarum, letting admins configure a Redis connection in the admin panel to speed up forums and reduce database load. Requires the PHP Redis extension and a running Redis server. | 3 | 4 | 1 | 3K | 4 | 20.0 | 48.3 | MIT | 4 weeks ago | |
| belsym/test-bundle | 0.83 | — | 1 | 1 | 0 | 0 | 0 | 0.0 | — | MIT | — | |
| goopil/laravel-redis-sentinel | 0.83 | Integrates Redis Sentinel with Laravel's Redis manager, letting applications connect to highly available Redis setups through sentinel hosts. Configure master and service names so failover happens transparently. | 2 | 1 | 1 | 38 | 0 | 19.6 | 18.4 | NOASSERTION | 2 weeks ago | |
| colinmollenhour/credis | 0.83 | 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 | 734K | 2 | 21.0 | 49.0 | MIT | 8 months ago | |
| php-mock/php-mock | 0.83 | 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 | 375 | 19 | 726K | 3 | 13.0 | 47.8 | WTFPL | 9 months ago | |
| php-mock/php-mock-prophecy | 0.83 | Prophecy integration for php-mock lets you mock PHP built-in functions like time, rand, and sleep inside Prophecy test doubles. Define expected behavior for global functions alongside class mocks, making time-dependent code testable without hard dependencies. | 16 | — | 4 | — | 0 | 1.5 | — | WTFPL | 11 months ago |
|
| experteam/api-redis-bundle | 0.83 | Symfony 5.1+ bundle providing Redis services for APIs: a Predis client wrapper for reading and writing, plus a transport to persist entities and dispatch message queues, configured via YAML with per-entity prefixes and serialization groups. | 0 | 0 | 0 | 402 | 0 | 0.0 | 36.0 | MIT | — | |
| allprogrammic/redis-client | 0.83 | — | 1 | 1 | 0 | 241 | 0 | 0.0 | 28.8 | MIT | — | |
| imanghafoori/eloquent-mockery | 0.83 | — | 127 | 127 | 20 | 122 | 4 | 2.6 | 5.1 | MIT | 2 years ago |
How can I help you explore Laravel packages today?