DEV Community

Discussion on: Cleaning Up Laravel Controllers

Collapse
 
webdev710 profile image
webdev-710

I have learned a lot from this article.
I am now able to understand more Laravel projects.

If I am sharing my techniques, I also use Resource class which is more useful in building REST API.

Thanks again!

Collapse
 
ashallendesign profile image
Ash Allen

I'm glad that you've found it useful!

I totally agree, resource classes are a really nice way of cleaning up API responses. In fact, I might put together an article in the near future about using resource classes so that we can show other developers how useful they can be 😄