Looking to hire Laravel developers? Try LaraJobs

laravel-batched-request maintained by codificio

Description
Service provider for batched requests in Laravel framework (Laravel PHP).
Last update
2020/03/19 11:04 (dev-master)
License
Downloads
86
Tags

Comments
comments powered by Disqus

This package is based on https://github.com/dvanderburg/lumen-batched-request.

Middleware

In addition to that package, there is also a middleware which override the base ThrottleRequests middleware. It is used to avoid API rate limit for the requests inside the batch.

Replace the default middleware:

Illuminate\Routing\Middleware\ThrottleRequests

with:

Codificio\BatchedRequest\ThrottleRequests

in the app\Http\Kernel.php file.