cache/illuminate-adapter

A PSR-6 cache implementation using Illuminate. This implementation supports tags

Maintainers

Package info

github.com/php-cache/illuminate-adapter

Homepage

pkg:composer/cache/illuminate-adapter

Transparency log

Statistics

Installs: 79 229

Dependents: 2

Suggesters: 0

Stars: 11

2.0.0 2026-08-20 01:59 UTC

This package is auto-updated.

Last update: 2026-08-20 02:25:33 UTC


README

Latest Stable Version Coverage Software License

This package exposes an Illuminate cache store through PSR-6 and PSR-16. The pool supports tags and hierarchical keys.

Installation

composer require cache/illuminate-adapter:^2.0

Version 2 supports Illuminate 11 through 13.

Usage

use Cache\Adapter\Illuminate\IlluminateCachePool;
use Illuminate\Cache\ArrayStore;

$store = new ArrayStore();
$pool = new IlluminateCachePool($store);

Pass any implementation of Illuminate\Contracts\Cache\Store to the constructor.

Upgrading to version 2

Version 2 stores a generation snapshot with each tagged item and a separate marker for each tag. Version 1 workers cannot safely share this format.

Stop or drain all workers, clear the backing store, and then deploy version 2. Follow the same sequence before a rollback.

Contributing

Send pull requests to the main repository. Report issues on the GitHub issue tracker.