mtkh / idempotency-handler
Block the concurrent/duplicate requests based on specific timeout
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: 2025-04-01 09:32:25 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
Idempotency
middleware on the route you want.