directorytree/activeredis
Active Record-style Redis hash models for Laravel. Create, update, delete, expire, and query Redis-backed records with an Eloquent-like API, including model identifiers, timestamps, casts, events, connections, chunking, searching, and testing support.
Visit models) with faster bulk attribute retrieval.connection property) to avoid key collisions, now with improved efficiency in attribute access.searchable attributes) to Redis-backed models without a separate search engine, now with faster query execution due to pipelining.create with UUID generation, update with timestamps) without manual Redis scripting, now with lower latency in attribute access.For Executives: "ActiveRedis v1.7.5 now eliminates N+1 query bottlenecks in Redis attribute fetching, further accelerating read-heavy workloads like real-time analytics, session tracking, and feature flags. By leveraging Redis pipelining, we reduce latency for transient data (e.g., user visits, event logs) by up to 30–50% compared to prior versions, while maintaining the simplicity of Laravel’s Eloquent API. This makes it an even stronger choice for high-velocity data storage with automatic expiry—ideal for compliance (e.g., GDPR) and low-risk adoption via its MIT license."
For Engineering: *"This update optimizes attribute fetching using Redis pipelining, which:
Visit::find($id)->with('metadata')).where(), create()) while improving performance.
Tradeoff: Still limited to single-key operations; complex queries require PostgreSQL. Perfect for transient, high-read data like sessions, event logs, or caching API responses."*How can I help you explore Laravel packages today?