PHPackages                             lx9912/think-throttle - 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. lx9912/think-throttle

ActiveLibrary

lx9912/think-throttle
=====================

throttle middleware for thinkphp6

1.0(5y ago)05Apache-2.0PHPPHP &gt;=7.1.0

Since Aug 3Pushed 5y ago1 watchersCompare

[ Source](https://github.com/lx9912/think-throttle)[ Packagist](https://packagist.org/packages/lx9912/think-throttle)[ RSS](/packages/lx9912-think-throttle/feed)WikiDiscussions master Synced 1mo ago

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

### 安装

[](#安装)

```
composer require lx9912/think-throttle

```

安装后会自动为项目生成 `conf/throttle.php` 配置文件，默认配置不会限制访问频率。

### 开启

[](#开启)

组件以中间件的方式进行工作，因此它的开启与其他中间件一样，例如在全局中间件中使用 `app/middleware.php` :

```
