mtkh/idempotency-handler

Block the concurrent/duplicate requests based on specific timeout

v1.0.0 2021-11-29 17:37 UTC

This package is not auto-updated.

Last update: 2024-05-14 05:33:16 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.