// Uppercase = ex. folders dont use uppercase notation
Site
Controllers
API
(if you manage roles you can create roles folder for controllers)
CMS
... more subfolder for role or simply controllers
BLOG
WEB
// same for views...
L5 large project structure
Hello,
I have a large Laravel 5 app I'm having trouble structuring in a manageable way. I've looked at several different examples, but am hoping for someone who's had experience with this type of setup to throw their two cents in.
The project consists of:
- A promotional website and blog
- A restful API for mobile app (built with AngularJS)
- A CMS for managing the blog and several entities employed by the app
At some point down the road, the promotional site may use data from the app.
Things seem to get pretty tough to sort through with the API, blog and CMS all residing in the same Laravel project. While I love the idea of using Lumen for the API, and separating the various services into their own projects, the projects aught to deploy synchronously since they'd be using the same database.
Should I split these into separate code repositories, or is their a good way to organize these within a single Laravel project?
Any input would be appreciated!
Please or to participate in this conversation.