Skip to content

Repository files navigation

Illuminate PSR-6 cache pool

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.

About

[READ-ONLY] An adapter for Laravel

Resources

Stars

11 stars

Watchers

3 watching

Forks

Releases

Packages

Used by

Contributors

Languages