Download the PHP package putyy/laravel-admin-base without Composer
On this page you can find all versions of the php package putyy/laravel-admin-base. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Table of contents
Download putyy/laravel-admin-base
More information about putyy/laravel-admin-base
Files in putyy/laravel-admin-base
Download putyy/laravel-admin-base
More information about putyy/laravel-admin-base
Files in putyy/laravel-admin-base
Vendor putyy
Package laravel-admin-base
Short Description laravel-admin基础功能封装...
License MIT
Homepage https://github.com/putyy/admin-base
Package laravel-admin-base
Short Description laravel-admin基础功能封装...
License MIT
Homepage https://github.com/putyy/admin-base
Keywords laravel-adminlaravel-admin-base
Please rate this library. Is it a good library?
Informations about the package laravel-admin-base
laravel-admin 基础类封装
安装
使用
Controller
- LaravelAdminBaseController 继承即可使用
- 继承BaseController 根据项目实现对应方法
重点: 由于laravel-admin对display的特别处理,需要在对应的model实现 \Pt\LaravelAdminBase\ShowColumnInterface 接口才能调用formatColumn
示例(更多用法看源码):
Actions
DeleteAction、LockAction 结合自身项目自定义action继承 实现对应的操作
如下:
然后控制器调用
权限展示重写
admin_permissions表添加slug_group字段
ALTER TABLE
admin_permissionsADD COLUMNslug_groupvarchar(100) NOT NULL AFTERslug;- 添加路由
All versions of laravel-admin-base with dependencies
PHP Build Version
Package Version
The package putyy/laravel-admin-base contains the following files
Loading the files please wait ...