feat(app): fresh module-platform, provider, middleware, rule and support implementation

This commit is contained in:
Darko Gjorgjijoski
2026-08-21 14:15:49 +02:00
parent 56cb653a2d
commit 7d5f29a1d4
24 changed files with 1580 additions and 0 deletions
@@ -0,0 +1,28 @@
<?php
namespace App\Platform\Modules\Events;
use Illuminate\Broadcasting\InteractsWithSockets;
use Illuminate\Foundation\Events\Dispatchable;
use Illuminate\Queue\SerializesModels;
/**
* Announces that a module has been switched on for this installation.
*/
class ModuleEnabledEvent
{
use Dispatchable;
use InteractsWithSockets;
use SerializesModels;
/**
* Subject of the announcement. Deliberately untyped: the property and the
* constructor parameter are a published contract for module listeners.
*/
public $module;
public function __construct($module)
{
$this->module = $module;
}
}