定制 michal-palus1/rareadmin 二次开发

按需修改功能、优化性能、对接业务系统,提供一站式技术支持

邮箱:yvsm@zunyunkeji.com | QQ:316430983 | 微信:yvsm316

michal-palus1/rareadmin

最新稳定版本:v1.1.2

Composer 安装命令:

composer require michal-palus1/rareadmin

包简介

Rare Admin Panel for your Laravel Application

README 文档

README

Latest Version on Packagist Total Downloads

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.

统计信息

  • 总下载量: 3.29k
  • 月度下载量: 0
  • 日度下载量: 0
  • 收藏数: 0
  • 点击次数: 1
  • 依赖项目数: 0
  • 推荐数: 0

GitHub 信息

  • Stars: 0
  • Watchers: 0
  • Forks: 0
  • 开发语言: PHP

其他信息

  • 授权协议: MIT
  • 更新时间: 2021-10-20

承接程序开发

PHP开发

VUE

Vue开发

前端开发

小程序开发

公众号开发

系统定制

数据库设计

云部署

网站建设

安全加固