cache/void-adapter

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

Maintainers

Package info

github.com/php-cache/void-adapter

Homepage

pkg:composer/cache/void-adapter

Transparency log

Statistics

Installs: 3 095 951

Dependents: 48

Suggesters: 1

Stars: 18

3.0.0 2026-08-20 01:59 UTC

This package is auto-updated.

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


README

Latest Stable Version Coverage Software License

This package provides PSR-6 and PSR-16 cache implementations that never retain values. Reads always miss, while writes and deletions succeed.

Use this adapter when an application requires a cache interface but caching must remain disabled.

Installation

composer require cache/void-adapter:^3.0

Usage

use Cache\Adapter\Void\VoidCachePool;

$pool = new VoidCachePool();

Version 3 requires cache/adapter-common 3. The pool retains no cache data, so an upgrade does not require a cache clear.

Contributing

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