horde/cache

Caching library

Maintainers

Package info

github.com/horde/Cache

Homepage

Type:horde-library

pkg:composer/horde/cache

Statistics

Installs: 2 695

Dependents: 11

Suggesters: 7

Stars: 1

Open Issues: 0

v3.0.0beta1 2026-04-01 00:00 UTC

README

PSR-16 Simple Cache implementation with multiple storage backends.

Key Features

  • PSR-16 Simple Cache Interface - Standard get/set/delete/clear/has/getMultiple/setMultiple/deleteMultiple
  • Age Filtering - Per-retrieval lifetime checks for some backends (SQL, File, Session, Hashtable, MongoDB)
  • 9 Storage Backends - Memory, File, SQL, Memcache, Redis, APCu, Session, Hashtable, MongoDB
  • Constructor Injection - Modern dependency injection with PSR-3 logger support
  • Type Safety - PHP 8.1+ with strict types

Documentation

References