Laravel单独文件夹Frontend和Backend

i want to build laravel project, and i want to separate between web and app.

i have 2 folder

folder 1:

FrontEnd

-- App
--Bootstrap
--Config
--resources
-- ETC

folder 2:

Backend

-- App
--Bootstrap
--Config
--resources
-- ETC

the question is:

  • how to comunicate between 2 folder? what is the best method or package?

i am new in laravel

thanks in advance

You do not have to share the frontend and the backend, there is a folder in laravel resource -> view it contains all of your templates.

I don't know if i'm not understanding you well but i don't find necessary to put two applications in a same folder. Either you create two projects or you mix both. And to mix them, what you can do is create to separated folders in ressources/views named frontend and backend. At the level on te routes, you can create a route group to manage this. By this way, the application will communicated as you want