Qlic's avatar
Level 18

Is it wise to use laravel without it's own database

Hi guys, i would like to get your idea's on the following scenario.

I have an existing website which is totally custom, no framework, no proper database conventions etc. but with quite a bit of data in it (leads, appointments, projects, finance, products etc.), whilst i'm still trying to convince the owner to remake it in Laravel, in the meantime i have to create a new addition to this site.

The goal is to create a responsive page for advisors (which will use 4G iPads) to insert data directly from the customers home into the system. In all my enthousiasm i grabbed a fresh Laravel installation, installed all the packages i'll be needing, and started working on a master page, when suddenly i realised i won't be able to use any laravel database tables.

Everything from authentication till data fetching and storing will have to run through a seperate DB connection, so my question to you guys is, is it wise to create it in Laravel (keeping in mind the fact that in the future the customer might want to switch to Laravel anyway), or should i append it to the already existing system.

0 likes
3 replies
d3xt3r's avatar

Everything from authentication till data fetching and storing will have to run through a seperate DB connection,

You can override whatever you want. Question is are you willing to ?

bigdogdman1's avatar

I am also wanting to do exactly this. I have an API endpoint that serves as my user login and another endpoint that is my data source, and I need to override pretty much everything in Laravel from authentication to queries, and I have been struggling quite a bit trying to do this. There is nothing out there (still!!) that goes over how to do this and not throw a crud-ton of errors. I have been struggling to do this for the past several months, and I am running out of resources to check for how to do something that should be fairly straightforward. Might you have any leads for me on this topic @d3xt3r?

1 like
martinbean's avatar

@bigdogdman1 This thread is 8 years old. You may have more luck creating your own new thread, and listing the specifics you need help with in your own project.

Please or to participate in this conversation.