This package exposes an Illuminate cache store through PSR-6 and PSR-16. The pool supports tags and hierarchical keys.
composer require cache/illuminate-adapter:^2.0Version 2 supports Illuminate 11 through 13.
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.
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.
Send pull requests to the main repository. Report issues on the GitHub issue tracker.