engrlaravel's avatar

Install Lumen inside folder of laravel application

Hi,

I have my website www.example.com developed in laravel. Now i want to develop API for mobile in LUMEN. I want to access my api like this . www.example.com/mobileapi/getusers

Can i install my lumen in mobileapi folder? Is it possible? how to do this?

0 likes
2 replies
primordial's avatar

@engrlaravel Any chance peeps can talk you out of this? It's a bad idea on many levels. Flies in the face of basic software development principles/aims such as "decoupling", "separation of concerns" and "modular software".

Install Lumen in a sub-domain instead.

1 like
STEREOH's avatar

Or just use an alias if you really want this kind of url

Please or to participate in this conversation.