cache/namespaced-cache
PSR-6 cache pool decorator that adds namespaces on top of a hierarchical cache (e.g., Redis). Wrap an existing cache pool and automatically prefix keys per namespace, helping isolate apps/modules while reusing the same backend.
user:123:profile vs. order:456:details).cache()->get("user:{$id}:data")).app:v1:users), and the decorator adds unnecessary abstraction.spatie/laravel-cache.For Executives: "This lightweight package lets us organize cached data like folders in a filesystem—critical for scaling our multi-tenant platform without cache conflicts. It’s a 5-minute upgrade that prevents future refactoring costs, especially as we add more microservices. MIT-licensed and battle-tested in Laravel’s ecosystem, it’s a no-brainer for standardization."
For Engineering:
*"The namespaced-cache decorator wraps Laravel’s cache with a clean Cache::namespace('users')->get('profile') syntax, eliminating manual key prefixing. It’s zero-config, MIT-licensed, and plays well with Laravel’s existing cache drivers (Redis, Memcached, etc.). Perfect for:
Str::of() for cache keys."How can I help you explore Laravel packages today?