pompdelux/phpredis-bundle
A Symfony bundle that integrates the phpredis PHP extension with configurable Redis client services, connection management, and dependency injection, making it easy to use Redis for caching, sessions, queues, and pub/sub in Symfony applications.
Baseline correction: The evidence in this record contradicts the two prior assessments. pompdelux/phpredis-bundle is described as "phpredis for symfony2 apps", last released 2014-11-11, with 0 stars and a score of 0.3. That is not a Laravel package with a 1.0.2 patch history — it is an abandoned Symfony 2 bundle. The Laravel-framed write-ups (assessment-laravel_dev.md, assessment-tpm.md) appear to have been produced against a generic template rather than this repository, and their recommendations (service-provider auto-discovery, vendor:publish, exception-FQCN audits) do not apply. Treat that earlier guidance as void and re-baseline here.
Architecture fit: Poor for our stack. The package integrates with the Symfony 2 DependencyInjection component — bundle registration in AppKernel, YAML service definitions, container compilation — none of which has an analogue in Laravel. There is no service provider, no facade, no auto-discovery, no publishable config in the Laravel sense. Consuming it in a Laravel app would mean reading its YAML connection definitions and hand-reimplementing them inside an AppServiceProvider, at which point we have written the integration ourselves and the package contributes only a thin factory over the phpredis extension.
Integration feasibility: Low effort to read, high effort to use. The underlying capability — phpredis connections defined in config and injected as services — has been first-party in Laravel since 5.3 via Illuminate\Support\Facades\Redis and config/database.php redis block, with a phpredis driver selected by REDIS_CLIENT=phpredis. Laravel's built-in support is maintained, tested against current PHP/Laravel versions, and already understood by the team. The package offers no capability the framework lacks.
Technical risk: High on every axis except licensing.
phpredis extension whose version must match the code's expectations; extension upgrades can change connection option semantics.Key questions:
composer.json even satisfiable there?Stack fit: Non-fit for Laravel. If the target is a legacy Symfony 2 application, the bundle fits its intended context but that context itself is end-of-life. Either way, the package is not the right dependency for new work.
Migration path: For a Laravel target, the correct action is no adoption — implement the requirement directly against Illuminate\Support\Facades\Redis with REDIS_CLIENT=phpredis, configured through config/database.php and environment variables. Where a team wants an injectable client rather than the facade, wrap it in one application-level service and bind an interface in AppServiceProvider; that seam is worth more than any third-party bundle and survives framework upgrades. If the package is already in a legacy app, plan extraction: enumerate every container service it registers, reimplement each against first-party Redis support or predis, then delete the bundle.
Compatibility: Assume none by default. Verify the package's PHP constraint, Symfony constraint, and ext-redis requirement against our matrix before any spike, and expect the answer to be "incompatible with current PHP." There is no Laravel compatibility statement to check because Laravel was not the target.
Sequencing:
Maintenance: Unmaintained upstream. Adopting it means assuming full ownership of a fork: PHP 8 compatibility shims, extension API drift, and security review with no upstream to defer to. The MIT license makes this legal but not advisable. Cost is small in lines of code and large in "code nobody on the team wrote and nobody wants to own."
Support: Effectively zero. No issue triage, no release cadence, no CVE process, no documentation beyond a 2014 README. Internal engineers will be the only support channel, and the runbook will have to be written from source.
Scaling: The underlying phpredis extension is fast and scales well; the bundle adds only a thin configuration layer, so no scaling penalty from the package itself. The scaling risks are operational: persistent connections (pconnect) interacting badly with queue workers and long-lived processes, connection exhaustion when workers multiply, and no exposed failover/cluster configuration beyond whatever the 2014 YAML schema supports. Under Octane or a horizontally scaled worker fleet, those matter more than raw throughput.
Failure modes:
phpredis extension causing a fatal at container boot rather than a catchable exception.Ramp-up: Low for a Symfony 2 engineer who has seen the bundle before, but that knowledge does not transfer — no Laravel developer gains anything from learning it. The real ramp-up cost is the fork: onboarding an owner, writing the compatibility shims, and documenting behavior the original README never described. Given a score of 0.3, 0 stars, and a decade of inactivity, the recommendation is to not adopt: use the framework's native Redis support, and if a legacy Symfony 2 dependency already exists, contain it and schedule its removal.
How can I help you explore Laravel packages today?