horde/cache

Caching library

Package info

github.com/horde/Cache

Homepage

Type:horde-library

pkg:composer/horde/cache

Statistics

Installs: 4 297

Dependents: 15

Suggesters: 7

Stars: 1

Open Issues: 0

v3.0.0 2026-06-26 00:00 UTC

Requires

Requires (Dev)

Suggests

Conflicts

None

Replaces

None

LGPL-2.1-only 5388d905843c549e0160624e11d5696e8203213f

  • Chuck Hagenbuch <chuck.woop@horde.org>
  • Michael Slusarz <slusarz.woop@horde.org>

psr-16


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