Return HTTP response as a collection (Effectively) in Laravel
If you are using Laravel’s HTTP client to call a third-party API, you might want to use the response as a collection to manipulate the data.
https://www.amitmerchant.com/r....eturn-http-response-
Discover the world at Altruu, The Discovery Engine