michal-palus1/rareadmin
Composer 安装命令:
composer require michal-palus1/rareadmin
包简介
Rare Admin Panel for your Laravel Application
README 文档
README
This is where your description should go. Try and limit it to a paragraph or two, and maybe throw in a mention of what PSRs you support to avoid any confusion with users and contributors.
Installation
Before install RareAdmin, you must have successfully set up Authentication in your Laravel App. More info...
Or if you have not installed auth yet, you can use these commands:
composer require laravel/ui
php artisan ui bootstrap --auth
npm install && npm run dev
Now you can install the package via composer:
composer require michal-palus1/rareadmin
Now run database migration and seed DEMO data:
php artisan migrate
php artisan rareadmin:seed
After that, replace public $fillable property in default User Model (App\Models\User) with:
protected $guarded = ['id'];
public function role() {
return $this->belongsTo(\MichalPalus1\Rareadmin\Models\Role::class);
}
Last step, publish js and css assets, and you are done:
php artisan vendor:publish --provider="MichalPalus1\Rareadmin\RareadminServiceProvider"
Usage
You can create Models and Migrations classic way in your code. (php artisan make:model Test -m) with all relations and attributes you want.
After you migrations and Models are ready, you can visit RareAdmin at url: /superadmin (for example: http://127.0.0.1:8000/superadmin). There you can map your Models with system Entities, with all columns and field types and restriction for different role types, to create fully customizable Admin Panel.
!!! All models must contains:
protected $guarded = ['id'];
License
The MIT License (MIT). Please see License File for more information.
michal-palus1/rareadmin 适用场景与选型建议
michal-palus1/rareadmin 是一款 基于 PHP 开发的 Composer 扩展包,目前已累计 3.4k 次下载、GitHub Stars 达 0, 最近一次更新时间为 2021 年 10 月 20 日, 在 PHP 生态内属于活跃度较高的组件。
我们在过去多个企业项目中使用过 michal-palus1/rareadmin 或与其功能相近的方案,如果你在选型或落地过程中遇到问题,例如 版本兼容、二次改造、私有化封装、与内部系统对接、生产 BUG 排查,欢迎联系我们协助评估。
基于 michal-palus1/rareadmin 在你已有业务上做功能扩展、字段裁剪、UI 适配、与内部账号 / 权限 / 日志系统的深度对接。
线上偶发问题、内存泄漏、慢查询、并发异常等排查修复;针对高流量场景做缓存、队列、索引层面的调优。
承接完整的项目从需求 → 设计 → 开发 → 上线 → 长期运维;也可按月提供技术保姆服务。
统计信息
- 总下载量: 3.4k
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 0
- 点击次数: 13
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2021-10-20