zerduo/hyperf-limiter

hyperf api limiter

dev-master 2021-06-03 07:04 UTC

This package is auto-updated.

Last update: 2022-07-31 00:31:42 UTC


README

hyperf框架api接口限流

Latest Stable Version Total Downloads License

Installation

 composer require zerduo/hyperf-limiter

config

php bin/hyperf.php vendor:publish zerduo/hyperf-limiter

middlewares.php

  • 增加:\Zerduo\HyperfLimiter\LimiterMiddleware::class