PHPackages                             comphp/cache - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [Caching](/categories/caching)
4. /
5. comphp/cache

ActiveLibrary[Caching](/categories/caching)

comphp/cache
============

Simple driver-based caching support for PHP applications.

0.3(3w ago)01MITPHPPHP ^8.5

Since May 18Pushed 3w agoCompare

[ Source](https://github.com/commonphp/cache)[ Packagist](https://packagist.org/packages/comphp/cache)[ RSS](/packages/comphp-cache/feed)WikiDiscussions master Synced 1w ago

READMEChangelog (1)Dependencies (3)Versions (2)Used By (0)

CommonPHP Cache
===============

[](#commonphp-cache)

CommonPHP Cache provides simple driver-based caching support for CommonPHP applications. It defines cache contracts and manager behavior while allowing storage implementations such as memory, filesystem, database, Redis, or Symfony-backed cache drivers to be plugged in separately.

The package is intended to make common cache operations easy to use while keeping storage details behind focused drivers.

Requirements
------------

[](#requirements)

- PHP `^8.5`
- `comphp/runtime:^0.3`
- `psr/simple-cache` if PSR-16 support is enabled

Installation
------------

[](#installation)

Once this package is available through your Composer repositories, install it with:

```
composer require comphp/cache
```

Usage
-----

[](#usage)

```
