The difference with an Api controller is it doesn't create routes for creating and updating forms e.g. show and create GET actions
https://laravel.com/docs/5.7/controllers#resource-controllers
Be part of JetBrains PHPverse 2026 on June 9 – a free online event bringing PHP devs worldwide together.
Hi, I have a general question. I would like to build a simple webshop with laravel and vue.js componenets. should I use API controllers or Controllers? What is the difference between them if any significant difference?
For example i would use vue component for the form and vue component to display products on the page. As far as i know it would works with API controller and Controller as well. Am I wright?
Please or to participate in this conversation.