psx/cache
A caching component for the PSX framework that provides a simple, consistent API for storing and retrieving cached data across different backends, helping PHP applications reduce repeated work and improve response times.
psx/cache is an adapter layer that implements PSR-6/PSR-16 over Doctrine Cache; it is not a Laravel cache driver, facade, or service-provider package. Laravel already provides a mature cache abstraction and multiple stores, so introducing this package would add an extra abstraction unless a specific component requires PSR-6/PSR-16 backed by an existing Doctrine Cache provider.Psr\Cache\CacheItemPoolInterface and/or Psr\SimpleCache\CacheInterface to package classes, plus configuration for the underlying Doctrine Cache provider, namespace, TTL defaults, and serialization behavior. There is no native Laravel configuration, facade, or documented Laravel path.Illuminate\Contracts\Cache\Repository / Cache facade for application caching. If a third-party library requires PSR-6 or PSR-16, prefer Laravel’s native PSR-16 support where sufficient, or symfony/cache for PSR-6. Consider psx/cache only when there is a hard requirement to reuse an existing Doctrine Cache provider through PSR interfaces.psx/cache to the compatibility boundary. If already using Doctrine Cache, wrap it rather than spreading Doctrine types through application code.composer audit, and test against the exact Laravel/PHP matrix in use. Validate supported cache backends such as Redis, Memcached, filesystem, and array where relevant. Confirm PSR interface versions, key constraints, TTL behavior, and serialization expectations. Avoid relying on undocumented behavior or Laravel auto-discovery.psx/cache itself. Redis or Memcached can scale if configured and operated correctly; array or filesystem backends are not appropriate for multi-node production. The adapter adds a thin abstraction layer but does not provide distributed locks, stampede protection, tag invalidation, or observability by itself.How can I help you explore Laravel packages today?