mtkh / idempotency-handler
Block the concurrent/duplicate requests based on specific timeout
Package info
github.com/matin-kh73/Laravel-idempotency-checker
pkg:composer/mtkh/idempotency-handler
v1.0.0
2021-11-29 17:37 UTC
Requires
- php: ^7.1|^8.0
- cheprasov/php-redis-lock: ^1.0.3
Requires (Dev)
- orchestra/testbench: ^6.0.0
This package is not auto-updated.
Last update: 2026-03-03 13:53:42 UTC
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.