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

BremdanJohnso's avatar

Lumen inside lumen, possible?

I've normal server var/www/html where I've lumen project say lumen1. What I want to know is whether I can have lumen2 inside lumen1 folder

something like this

var/www/html/lumen1 - first lumen var/www/html/lumen1/lumen2 - second lumen

I can't find any article even close to it, is it good practice? How to do it?

0 likes
2 replies
Sinnbeck's avatar

That us a really bad idea. If they literally are two different apps, I suggest having them on separate domains. Perhaps the new one on a subdomain. If they are just a few new extra routes, you should update your current app

tykus's avatar

Seems like a terrible idea. What problem is it intended to solve?

Please or to participate in this conversation.