PHPackages                             gemini/cache-breaker - 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. gemini/cache-breaker

ActiveLibrary[Caching](/categories/caching)

gemini/cache-breaker
====================

v1.0.0(5y ago)2827[2 issues](https://github.com/Gemini-D/cache-breaker/issues)MITPHPPHP &gt;=7.2

Since Jan 28Pushed 5y ago1 watchersCompare

[ Source](https://github.com/Gemini-D/cache-breaker)[ Packagist](https://packagist.org/packages/gemini/cache-breaker)[ RSS](/packages/gemini-cache-breaker/feed)WikiDiscussions main Synced today

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

CacheBreaker
============

[](#cachebreaker)

[![PHPUnit](https://github.com/Gemini-D/cache-breaker/workflows/PHPUnit/badge.svg)](https://github.com/Gemini-D/cache-breaker/workflows/PHPUnit/badge.svg)

为 hyperf/cache 扩展熔断能力

```
composer require gemini/cache-breaker

```

使用
--

[](#使用)

### 添加 Aspect 配置

[](#添加-aspect-配置)

> 本组件并不是默认生效，所以需要配置对应的 Aspect

修改配置文件 `config/autoload/aspects.php` 如下：

```
