Dynamic extensions: src and/vs web assets

Hi TheLobos!

I will also deal with this.
in my opinion for the web use the cache.
in the source (src, vendor) to use uncompressed css, javascript
and to use for web compress them and put to cache folder is accessible from the Web.
like web/cache or web/assets/cache

IMHO directory structure does not matter. I chose the Symfony directory structure.

I plan install modules via composer and put one module file for init like app/Modules/ModName/init.php.
init depending on route

$app->group(‘/forum’, function () {
// root module route
$this->get(‘’, ‘\RunBB\Controllers\Index:index’)->setName(‘forum’);
// register all this module routes
(new \Src\Core\Routes($this, ‘forum’))->addRoutes();
});//->add(‘Src\Middlewares\RouteMiddleware’);