DEV Community

Discussion on: Laravel API - The best way to Return the uniform Response for all type of Requests

 
bawa_geek profile image
Lakh Bawa

I believe Laravel response has the dependency on github.com/thephpleague/fractal which is no longer required as We have Laravel Api Resources now

laravel.com/docs/8.x/eloquent-reso...

Thread Thread
 
stephenjude profile image
Stephen Jude

Oops, didn't know that's what you are referring to. Its been there for a while. Since 5.5

I fractal works for me.

Thread Thread
 
bawa_geek profile image
Lakh Bawa

yeah, thats true