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.
The decision this should drive most often is a no-go outside the PSX ecosystem. Two stars and zero dependents mean it cannot be load-bearing in a commercial product without us accepting the maintenance tail ourselves.
Consider it when:
Look elsewhere when:
symfony/cache provides actively maintained PSR-6 and PSR-16 adapters across many backends.Adoption gate: acceptable only if the blast radius of ripping it out is roughly one afternoon and the dependency never sits on a customer-facing critical path.
For executives: This is a small open-source library that lets PHP code store and retrieve cached data through a standard interface, backed by several storage engines. It's free and permissively licensed (Apache-2.0). The problem is adoption: two GitHub stars, zero downstream packages, and it sits on Doctrine's caching component, which is itself on a deprecation path. My recommendation is not to introduce it into our Laravel platform. Laravel already provides a stronger, better-supported cache layer, and adopting this would give us two caching systems to operate, monitor, and debug — plus a maintenance tail we'd own ourselves. It is cheap to adopt today and potentially expensive to depend on in eighteen months.
For engineering:
It's a thin PSR-6/PSR-16 shim over Doctrine Cache. The value is the interface, not the implementation — and the interfaces are already available to us. We have Illuminate\Contracts\Cache with better primitives (tags, locks, atomic counters) and a Redis driver that is actually maintained. If we need PSR-16 specifically because some third-party library type-hints it, use symfony/cache adapters or a purpose-built bridge rather than pulling in a repo with zero dependents. The one legitimate exception: if we adopt PSX for an API layer, let it bring its own cache adapter so we aren't fighting the framework's wiring.
How can I help you explore Laravel packages today?