mirror of
https://github.com/ad-aures/castopod.git
synced 2026-04-04 15:26:43 +02:00
feat: add Plugins module with base files for plugins architecture
This commit is contained in:
parent
3fd5efc795
commit
7253e13ac2
13 changed files with 174 additions and 0 deletions
17
modules/Plugins/Controllers/PluginController.php
Normal file
17
modules/Plugins/Controllers/PluginController.php
Normal 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(),
|
||||
]);
|
||||
}
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue