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
+30
View File
@@ -0,0 +1,30 @@
<?php
namespace App\Platform\Modules\Models;
use Illuminate\Database\Eloquent\Factories\HasFactory;
use Illuminate\Database\Eloquent\Model;
/**
* Registry row describing one module known to this installation.
*/
class Module extends Model
{
use HasFactory;
protected $table = 'modules';
protected $guarded = ['id'];
/**
* @return array<string, string>
*/
protected function casts(): array
{
return [
'installed' => 'boolean',
'enabled' => 'boolean',
'last_failed_at' => 'datetime',
];
}
}