mtkh/idempotency-handler
Composer 安装命令:
composer require mtkh/idempotency-handler
包简介
Block the concurrent/duplicate requests based on specific timeout
README 文档
README
Using this package you can block duplicate/concurrent requests for performing a specific action based on a specific time.
How to use?
- Publish the idempotency config with
php artisan vendor: publish --tag=idempotency. - You must configure this file based on each route that you have in your project.
- Set the
Idempotencymiddleware on the route you want.
统计信息
- 总下载量: 13
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 0
- 点击次数: 0
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2021-11-27