mtkh / idempotency-handler
Block the concurrent/duplicate requests based on specific timeout
Installs: 13
Dependents: 0
Suggesters: 0
Security: 0
Stars: 0
Watchers: 1
Forks: 0
Open Issues: 0
pkg:composer/mtkh/idempotency-handler
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-09-30 11:54:06 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.