You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
@@ -288,6 +289,17 @@ If you find yourself implementing the same custom pagination in different projec
288
289
> [!WARNING]
289
290
> The documentation of this feature is a work in progress.
290
291
292
+
293
+
### 🤝 Laravel integration
294
+
295
+
If used in a [Laravel](https://laravel.com) project, Lazy JSON Pages automatically fires events when:
296
+
- an HTTP request is about to be sent, by firing `Illuminate\Http\Client\Events\RequestSending`
297
+
- an HTTP response is received, by firing `Illuminate\Http\Client\Events\ResponseReceived`
298
+
- a connection failed, by firing `Illuminate\Http\Client\Events\ConnectionFailed`
299
+
300
+
This is especially handy for debugging tools like [Laravel Telescope](https://laravel.com/docs/telescope) or [Spatie Ray](https://spatie.be/docs/ray/installation-in-your-project/laravel) or for triggering the related event listeners.
301
+
302
+
291
303
## 📆 Change log
292
304
293
305
Please see [CHANGELOG](CHANGELOG.md) for more information on what has changed recently.
0 commit comments