codificio / laravel-batched-request
Service provider for batched requests in Laravel framework (Laravel PHP).
0.3.2
2020-03-19 10:04 UTC
Requires
- php: >=7.0
- flow/jsonpath: ^0.4.0
- laravel/lumen-framework: 6.*
Requires (Dev)
- phpunit/phpunit: ^6.0
README
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.