InitPHP Cache

PSR-16 Simple Cache implementation for PHP 8 with File, PDO, Redis, Memcache(d) and WinCache handlers.

PHP 8.2+ MIT v2.0.0 PSR-16

Installation

terminal
$ composer require initphp/cache

Requires PHP 8.2+. The package is published on Packagist as initphp/cache.

What Cache does

PSR-16 (Simple Cache) implementation for PHP 8 with File, PDO, Redis, Memcache(d) and WinCache handlers behind one interface, so the storage backend can be swapped without touching call sites.

Package details

Composer package
initphp/cache
Latest version
2.0.0
Released
2026-11-22
Requires
PHP 8.2+ (^8.2)
License
MIT
Implements
PSR-16
Depends on
psr/simple-cache