@leostereo Don't over think it. Stick with using restful resource models and using the API should mirror using your controllers in your app.
If you build an SPA using Vue, this becomes a bit easier as your API is used by the Laravel app itself.
Be part of JetBrains PHPverse 2026 on June 9 – a free online event bringing PHP devs worldwide together.
Hi , guys. Im planing to develop a crud plarform. For first version i will create an http front-end but at the end, there should be an android app to manage the platform. My question is: What is the best way to develop my platform in order to keep both models working togheter, the http front end the android app using the same api. I think there is nothing strange here ,but since im newbe wanted to share my idea. Regards. Leandro.
@leostereo Don't over think it. Stick with using restful resource models and using the API should mirror using your controllers in your app.
If you build an SPA using Vue, this becomes a bit easier as your API is used by the Laravel app itself.
Please or to participate in this conversation.