laravel api resources | | Lava Lamp Lab
Aug 27, 2019
laravel logo

Working with Eloquent: API Resources in Laravel

Sometimes when building an API you want to have a generic return message that all responses would conform to. Something like { "status": "ok", "data": { […]