PHPackages                             irooit/i-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. irooit/i-cache

ActiveLibrary[Caching](/categories/caching)

irooit/i-cache
==============

Illuminate Cache for Hyperf

v3.1.0(3y ago)019MITPHPPHP &gt;=8.0

Since Jan 30Pushed 3y agoCompare

[ Source](https://github.com/irooit/i-cache)[ Packagist](https://packagist.org/packages/irooit/i-cache)[ RSS](/packages/irooit-i-cache/feed)WikiDiscussions main Synced 1mo ago

READMEChangelogDependencies (14)Versions (13)Used By (0)

Hyperf 缓存
=========

[](#hyperf-缓存)

[illuminate/cache](https://github.com/illuminate/cache)

安装
--

[](#安装)

```
composer require irooit/i-cache

```

配置
--

[](#配置)

创建配置文件

```
php bin/hyperf.php vendor:publish irooit/i-cache
```

配置如下

> 因为其他缓存驱动暂时无法被协程化，所以只支持 array file 和 redis

```
