Support the ongoing development of →
Configuration Session Database
Last updated 2 years ago.

Don't know why you would do this unless you a java app or something like that but anyway, The way I would do it is use the Repository pattern so I would create your models as normal and then I would create a Repository and that would access your api . But if your only using laravel for the V in the MVC then I would use some javascript framework to build the V view layer. Also Laravel is not really MVC its more like HMVC framework.

I can give you a better guide if you let me know what your want to build on Laravel eg: page to show the data in your REST API. etc

Your very last sentence answered your question.

Last updated 9 years ago.

Sign in to participate in this thread!


Your banner here too?

kraftman kraftman Joined 26 Jun 2015


We'd like to thank these amazing companies for supporting us

Your logo here?

The Laravel portal for problem solving, knowledge sharing and community building.

© 2024 - All rights reserved.