Installing and managing modules from admin panel (#847)

This commit is contained in:
Yash Govekar
2020-10-19 10:10:28 -04:00
committed by GitHub
parent ca220f1cdf
commit 5803487d51
92 changed files with 1259 additions and 669 deletions
+28
View File
@@ -0,0 +1,28 @@
<?php
namespace App\Models;
use App\Contracts\Model;
/**
* Class ModuleManager
*/
class Module extends Model
{
public $table = 'modules';
public $fillable = [
'name',
'enabled',
'created_at',
'updated_at',
];
protected $casts = [
'enabled' => 'boolean',
];
public static $rules = [
'name' => 'required',
];
}