Be part of JetBrains PHPverse 2026 on June 9 – a free online event bringing PHP devs worldwide together.

GeorgeJohnB's avatar

Multiple Websites in Laravel

I acquired a new client that has about 10 websites in Laravel. The sites all basically clones of each other, except with different looks and page content. Each site has a SMS / email alert system for their customers, along with regular home, about us, contact us, etc. pages. I am trying to figure out a way to make the system more user friendly from an updating stand point. Recently, each site needed a new page with new content, so to add these were a little cumbersome (clone, setup, change, save, commit, push, deploy). I have worked in WordPress for the last 5 years, so I know how to develop custom themes, and get things done in there. I am fairly new to web application development and git. Here are my thoughts on how to clean this up:

  1. Develop all the sites in WordPress, and then develop one central SMS / email alert system, instead of each site having it's own. Each site would then be able to be updated fairly easily, and the sites could communicate with the alert system via APIs.

  2. Develop a new base code system, that all the sites could use. Each site would use the same base code, but then each site could have it's own theme. Each site would be hosted separately, and when the base code is updated, it gets pushed to all the sites.

  3. Develop a system where all the sites are hosted on the same server, using the same base code.

For option 1, I would have to figure out a way to make all the sites talk to the central alert system. For option 2, I would have to write a better CMS system, and then figure out a way to have all the sites use the same base. For option 3, the only downfall I see is, if one problem happens, all the sites go down together.

Any help or feedback would be appreciated. Thanks.

0 likes
1 reply
Tray2's avatar

I would go with option number 3. The server going down issue is not really an issue if you are setting up your environment with a load balancer and at least two web servers.

Please or to participate in this conversation.