InitPHP Cache

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

PHP 8.0+ MIT v1.0.0 PSR-16

Installation

terminal
$ composer require initphp/cache

Requires PHP 8.0+. 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
1.0.0
Released
2026-06-10
Requires
PHP 8.0+ (>=8.0)
License
MIT
Implements
PSR-16
Depends on
psr/simple-cache