I am new to Laravel. As per my research on this framework I find it quite useful for my projects. However I am facing difficulty in customizing it to use a single instance of Laravel framework for multiple projects. I do not want to follow the multi site approach as available in Laravel i.e., using directory structure in models and controllers for projects because I won't be able to push my project related changes in a single step in Git.
I want something like this.
common Laravel framework (having common libraries and vendor files. Also having common functionalities used by different projects)
app/controllers
app/models
app/views
vendor
bootstrap
Proj1 (having its own entities and is able to use common libraries and model functions from common Laravel framework)
app/controllers
app/models
app/views
bootstrap
Proj2 (having its own entities and is able to use common libraries and model functions from common Laravel framework)
app/controllers
app/models
app/views
bootstrap
i.e., New project must have its own app directory and is able to use model functions from common project.
This will ease my task and would be very useful for my upcoming projects. If someone could help me with this I'll really appreciate.