Hi, I need some feedback. I had just a discussion with my team to change the whole structure of our project. We have a laravel with nova in it and it is an application (where people can do something, with dashboard, projects, ...) and some normal pages like about us, imprint, ...
Now one person said, it would be good to have two laravel, which use the same db. For example if we have a new designer, he can only push his code to one repo and can not do anything in the business logic (other repo). Or if a SEO agency wants to push code to the website, they can do it without break anything. Or SEO agency wants to do scheme html code for better SEO.
My position was: For SEO agencies who want to push scripts, we use google tag manager. To split design we can do namespaces for themes (and maybe components) and the designer only get permissions to push this design folder to our github account.
I wanted to ask what you prefer and how you build websites like this? Did you ever had two laravels and one database? I see the problem that you also need to sync models, you have to have controllers which need actions from the other laravel, ... Am I wrong? What would you say?
Maybe for the reasons the person said we had to build an API, what would be the better solution. This would be a big todo, but the normal way. Then the designer (for app, website, ... maybe other) can use whatever they want (other than laravel) and get data from API.