feat: add Plugins module with base files for plugins architecture

This commit is contained in:
Yassine Doghri 2024-04-28 17:14:45 +00:00
commit 7253e13ac2
13 changed files with 174 additions and 0 deletions

View file

@ -0,0 +1,17 @@
<?php
declare(strict_types=1);
use Modules\Admin\Controllers\BaseController;
class Controller extends BaseController
{
public function index(): string
{
$plugins = service('plugins');
return view('plugins', [
'installedPlugins' => $plugins->getInstalled(),
]);
}
}