mrubinitmegastarcom/autoadminlaravel

Laravel的行政界面构建器。

5.8.6.2 2020-09-07 06:58 UTC

This package is auto-updated.

Last update: 2024-09-07 15:54:48 UTC


README

bg

Laravel管理面板

Build Status Laravel Support PHP Support Official Site Demo Site Latest Stable Version License

SleepingOwl Admin 是 Laravel 的行政界面构建器。

文档

安装开发分支

  1. 在终端中运行此命令: composer require mrubinitmegastarcom/autoadminlaravel
  2. 在终端中运行命令添加配置文件: php artisan sleepingowl:install
  3. 在终端中运行命令更新资源: php artisan sleepingowl:update

版权和许可证

Admin 是由Sleeping Owl为Laravel框架编写的,并按MIT许可证发布。有关详细信息,请参阅LICENSE文件。

配置示例 /** * @return array */ public function getProperty():array { return [ 'crud'=> [ 'modelTitle' => 'Круиз', 'menuGroup' => 'Справочники', 'menuIcon' => 'fa fa-dashboard', 'gridFields' => $this->getDocAttributesType(), 'editFields' => $this->getDocAttributesType(), 'permission' => [], ], 'relations'=> function($a){ return [ 'motorship'=>['class'=>Motorship::class, 'relationOne'=>true] ]; } ]; }