I am working on a complex application that is divided in some sub-applications with their own logic. Those sub-applications are included in composer.json
file of the main application and the module paths of sub-application are included in the main application.
For example main app module_paths
contains:
./vendor,
./vendor/app1/module
./vendor/app2/module
The problem is that both app1
and app2
have a module with the same name and both of them need to be loaded in the main application.
Is there a way to load 2 modules with the same name but from different sources?