@simonangatia If it fetches data from the API, then why not consider VUE side to render it. Unless you have to store data inside the DB.
I may use this approach.
Be part of JetBrains PHPverse 2026 on June 9 – a free online event bringing PHP devs worldwide together.
I want to consume a sports API but I am undecided on where to write the logic, Vue js side or Laravel side? This is the application layout: The application is a Laravel application with a Vue frontend. I know that I can handle the data from the Vue side by using Axios then process data from there then Laravel side can be used for storing user's bets. I tried fetching the data from the Laravel side but it is too slow and the site has to be fast. I would appreciate your advice on this matter. Thank you!
Please or to participate in this conversation.