What is the proper way to handle App splitting into:
- Admin panel
Should i keep Controllers, Middlewares, dependencies, settings and etc. specific for each part in apps catalog like:
etc. and same for /webpage and /admin with addition of twig templates
Then define 3 entry points in public/
And rest of common classes in:
Or should it be kept all together in one namespace and one catalog like in slim3-skeleton, and just split specific controllers in namespaces like that:
And keep one dependencies and settings file wich one entry point in public/index.php with routing handled by routing groups?