From 71003ec58666f292770510b899c47f6df245044d Mon Sep 17 00:00:00 2001 From: Andrea Marco Sartori Date: Mon, 12 Feb 2024 15:45:33 +1000 Subject: [PATCH] Update readme --- README.md | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 0e957f1..bb07ce0 100644 --- a/README.md +++ b/README.md @@ -21,7 +21,8 @@ $lazyCollection = LazyJsonPages::from($source) Framework-agnostic package to load items from any paginated JSON API into a [Laravel lazy collection](https://laravel.com/docs/collections#lazy-collections) via async HTTP requests. > [!TIP] -> Do you need to read large JSON with no pagination in a memory-efficient way? Consider using [🐼 Lazy JSON](https://github.com/cerbero90/lazy-json) or [🧩 JSON Parser](https://github.com/cerbero90/json-parser) instead. +> Need to read large JSON with no pagination in a memory-efficient way? +> Consider using [🐼 Lazy JSON](https://github.com/cerbero90/lazy-json) or [🧩 JSON Parser](https://github.com/cerbero90/json-parser) instead. ## 📦 Install @@ -293,7 +294,7 @@ LazyJsonPages::from($source) ->middleware('cache_responses', $cacheResponses); ``` -If we a middleware to be added every time we invoke Lazy JSON Pages, we can add a global middleware: +If we need a middleware to be added every time we invoke Lazy JSON Pages, we can add a global middleware: ```php LazyJsonPages::globalMiddleware('fire_events', $fireEvents);