Weave Code
Weaver
Helps Laravel developers discover, compare, and choose open-source packages. See popularity, security, maintainers, and scores at a glance to make better decisions.
Feedback
Share your thoughts, report bugs, or suggest improvements.
Subject
Message
Redis Bundle

Redis Bundle Laravel Package

headzoo/redis-bundle

A Symfony bundle for integrating Redis into your application, providing configured Redis client services and convenient setup for Redis-backed caching, sessions, and storage. It simplifies wiring Redis into Symfony projects through bundle configuration and service definitions.

View on GitHub
Deep Wiki
Context7

A Redis bundle for Symfony2 supporting Predis and PhpRedis

Frequently asked questions about Redis Bundle
Is headzoo/redis-bundle compatible with Laravel?
headzoo/redis-bundle is built as a Symfony bundle, so it is not directly installable or usable as a Laravel package. Laravel does not load Symfony bundles and does not use Symfony's bundle registration or dependency injection configuration model. You can use the underlying Redis client library inside Laravel, but the bundle's service wiring will not apply. For Laravel applications, use the framework's native Redis integration instead.
How do I install and register headzoo/redis-bundle?
Install it with Composer using composer require headzoo/redis-bundle. Then register the bundle in your Symfony bundle configuration, typically bundles.php or the Kernel, and supply your connection settings in the bundle's configuration section. The bundle is designed for lightweight setup, so the remaining work is mainly providing host, port, database, and authentication values per environment.
Which PHP and Symfony versions does headzoo/redis-bundle support?
The support matrix could not be verified from the material supplied, because no composer.json, changelog, or dependency data was provided. Read the require constraints in the package's composer.json and confirm each PHP and Symfony combination you need is covered by CI. A narrow matrix is not disqualifying, but it becomes a constraint on your platform's upgrade cadence, and that cost belongs in the adoption decision rather than in a surprise later.
How do I configure multiple Redis connections for different environments?
The bundle is built around configurable Redis connections, so you define named connections and let environment-specific configuration supply the differing values. Each connection is registered as a service through the container, which keeps credentials and hosts out of application code. Pin the published configuration into your repository rather than relying on package defaults so that upgrades cannot silently change connection behaviour.
Can I use headzoo/redis-bundle for caching, sessions, or general storage?
The bundle's stated purpose is convenient setup for Redis-backed caching, sessions, and storage by providing configured Redis client services. In Symfony you wire those services into the relevant cache or session adapters. In a Laravel application the same outcomes are normally achieved with the framework's own Redis cache and session drivers, which already handle this wiring without a Symfony bundle.
Does the bundle register any global services or change behaviour outside its own namespace?
This is a structural question that cannot be answered from the material provided. The bundle's role is registering Redis client services in the container, which is a contained seam rather than a framework override. Before adopting, confirm it does not override existing bindings, decorate core services, or register anything that changes application behaviour outside its own namespace.
Is headzoo/redis-bundle safe under long-running processes such as queue workers?
Long-running process safety could not be verified from the material provided, and this is the most commonly missed risk in package reviews. Any state held statically or on singleton services can accumulate per request and leak across requests in worker processes. Check whether the bundle documents its state as worker-safe and exercise it under a realistic worker configuration before relying on it in production.
What changed between version 1.6 and 1.7 of headzoo/redis-bundle?
The 1.7 release notes supplied for review are empty and no changelog was provided, so the change set cannot be assessed from the available material. An unreviewable release is a release that cannot be approved on notes alone. Inspect the commit diff between the two tags before upgrading, and treat missing release notes as a maintenance signal rather than a formality.
What are the alternatives to headzoo/redis-bundle in a Laravel application?
For Laravel, the practical alternative is the framework's built-in Redis support through predis or phpredis, including the Redis facade and the cache and session drivers. That covers most caching and session use cases without adding a Symfony-oriented dependency. For Symfony projects, the alternatives are configuring a Redis client directly as a service or using Symfony's own cache adapters.
How do I remove an application's dependency on headzoo/redis-bundle?
The removal path is to unregister the bundle, remove the Composer dependency, and delete the published configuration. Confirm first that no published migrations alter existing tables or write package-owned columns into domain tables, since those are difficult to unwind in production. If the bundle only registers client services, removal is cheap; sequence adoption on a branch so the package stays provably removable at every step.
Weaver

How can I help you explore Laravel packages today?

Conversation history is not saved when not logged in.
Prompt
Add packages to context
No packages found.
dbravoan/dbcms-admin-theme-dbcms
dbravoan/dbcms-theme-db-cyber
dbravoan/dbcms-blocks-basic
dbravoan/dbcms-module-content-audit
dbravoan/dbcms-module-ai-assistant
paygate-to/paygate-php
padosoft/askmydocs-connector-base
defstudio/supercharged-carbon
bernskioldmedia/laravel-matomo
bernskioldmedia/laravel-harvest
bernskiold/laravel-data-scrubber
bernskiold/laravel-currency-converter
bernskiold/laravel-campaign-monitor
bernskioldmedia/laravel-autotranslate
siberfx/telegram-bot
roy-sandip/laravel-view-extended
gregsphotography/site-builder-core
roy-sandip/laravel-view
anodyne/blade-fluentui-icons
webx-ui/module-catalog-collections