semitexa / cache
Semitexa Cache - tenant-aware cache store with Redis backing, namespaces, and tag invalidation
2026.04.05.0855
2026-04-04 11:37 UTC
Requires
- php: ^8.4
- predis/predis: ^2.0
- semitexa/core: *
Requires (Dev)
- phpunit/phpunit: ^10.0
This package is auto-updated.
Last update: 2026-04-05 09:00:31 UTC
README
Tenant-aware cache store with Redis backing, namespace isolation, and tag-based invalidation.
Purpose
Provides a cache abstraction with pluggable backends. The default Redis store supports key namespacing for tenant isolation, tag groups for batch invalidation, and TTL-based expiration.
Role in Semitexa
Depends on semitexa/core. Uses Predis as the default backend. Becomes tenant-aware when paired with the Tenancy package via CacheNamespaceResolverInterface.
Key Features
RedisCacheStorewith Predis backendArrayCacheStorefor testing and development- Tenant-aware key namespacing via
CacheNamespaceResolverInterface - Tag-based invalidation with
TagSet CacheStoreInterfacecontract for custom backends