sinemacula/laravel-valkey-glide
A Laravel integration for Valkey GLIDE, the official client library for the Valkey in-memory store. It lets Laravel applications use Valkey as a fast, Redis-compatible backend for caching, sessions and queues through a native connection driver and straightforward configuration.
Cache::, Session, and queue configuration semantics — a "buy" with low switching cost (config swap back to predis/phpredis is a rollback path).executeRaw is correctly routed on cluster connections (#80) — both are prerequisites for cluster-mode ElastiCache/MemoryDB Serverless, not nice-to-haves.iam block instead of silently dropping IAM auth (#84). This is a fail-fast correctness fix — previously a partially specified IAM config could quietly fall back to unauthenticated connectivity. Good for production safety; a config-compat item to check on upgrade (see below).Adopt / pilot when:
executeRaw routing remove two of the more common "just write it ourselves" arguments.phpredis C extension (build/deploy consistency across images, version drift between app and server).Look elsewhere when:
predis/phpredis are the well-trodden path. (v1.2.0 improves cluster behavior; it does not add a Sentinel story.)predis, not a default in the base image.Upgrade caveat for anyone already piloting (v1.1.x → v1.2.0): the IAM validation fix is intentionally a behavior change — an incomplete iam block now fails loudly rather than silently dropping IAM auth. Audit any environment where IAM config is assembled partially (env-var gaps, per-environment overrides) before upgrading; those will now error instead of degrading. Treat cluster topology-check and reconnect-strategy settings as new knobs to set deliberately and record in the runbook, not defaults to inherit silently.
Adoption gate (unchanged, now more testable): run a load test in staging against your actual Valkey topology, and confirm cluster failover, TLS, and reconnect behavior under fault injection before promoting past one non-critical service. v1.2.0 makes the reconnect half of that gate configurable, so it should be an explicit part of the pilot's exit criteria rather than an assumption.
For executives: We have an open question about our Redis dependency — licensing exposure and which managed cache we standardize on. This package lets us answer it with a configuration change instead of an engineering project: it plugs Laravel directly into Valkey, the open-source Redis fork our cloud provider now offers as a managed service. It also removes a recurring source of deploy friction (the compiled PHP Redis extension). The project is actively maintained — v1.2.0 shipped 2026-10-21, roughly three months after v1.1.0, and the recent work is concentrated on exactly the things that make a cache migration safe at scale: cluster topology awareness, reconnect behavior, and failing fast on misconfigured authentication. Cost to evaluate is still small — a time-boxed pilot on one non-critical service with a one-line rollback — and continued releases on the current Laravel line mean adopting it doesn't pin our framework upgrade.
For engineering: sinemacula/laravel-valkey-glide is a thin Laravel adapter over Valkey Glide, AWS's Rust-based client. You keep the existing Cache/Session/queue APIs and swap the connection config; you gain cluster-mode, TLS, and IAM auth support without hand-rolling a client, and you can drop the phpredis build step from our images. v1.2.0 (2026-10-21) is the most substantive release since we started tracking it: it closes replaced clients on reconnect and exposes Glide's reconnect strategy as config (#82), lets cluster connections configure periodic topology checks (#78), routes executeRaw correctly on cluster connections (#80), and rejects incomplete iam blocks instead of silently dropping IAM auth (#84). Read that last one as a hardening fix with upgrade implications — partial IAM configs that previously degraded silently will now error, so audit env-var gaps before bumping.
Caveats to plan around: single-maintainer project, small install base, no Sentinel story, and no Redis-module support. Proposal is a scoped pilot behind a flag with predis as the documented fallback, plus a benchmark and a failover test — with the new reconnect and topology settings explicitly configured and recorded as part of the pilot's exit criteria.
How can I help you explore Laravel packages today?