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

FREDERIC LD's avatar

Laravel folder structure for frontend and backend

Hi,

First of, I am pretty new Laravel. Been binjing on videos for 2 weeks and it looks good so I am going to have a go at this. I have registered with Laracast which should help but I have not seen a video on frontend and backend separation yet.

So I am looking at how I can structure my Laravel folders so I can manage my frontend and a backend systems in a simple and logical way ...

I am thinking of having 2 controllers folders (1 for each) 2 views folders (1 for each) 2 model folders? not sure how I would go about that. Do I just need to create a "model" folder and 2 sub-folders for FE and BE? and then reference the correct model in my controllers

Anything else I should separate?

Any ideas or suggestions is very appreciated!

0 likes
1 reply

Please or to participate in this conversation.