Re: Laravel API Resources + JSON API Spec
May 4 2018, 10:47am
Thanks Brent! One option I like to do is to throw custom exceptions that utilize Laravel's render method to output it as a JSON API compliant error response.
Example of one here: https://github.com/Mitchell...
http://mitchmckenna.com/blog/2017/09/laravel-api-resources-json-api-spec/#comment-3886110577