“Is it enough just to return my models or collections as JSON, or do I need more?”
Have you had the same question as above where you feel like something is missing? Maybe you’ve already built an API that way and discovered that you disliked it, because you had to implement everything one more time on the frontend.
While returning models and collections as JSON certainly work, there is a more streamlined approach, which follows protocols and has been tested and proven effective for years.
Build an API with Laravel will not only teach you proper conventions that will make you build APIs with confidence. It will also show you how to implement these into Laravel and give you an excellent workflow you will love.
As a bonus, we will also show how an API with strict conventions leads to easier communication between your Laravel Backend and VueJS application.