承接 manukminasyan/laravel-permission-manager 相关项目开发

从需求分析到上线部署,全程专人跟进,保证项目质量与交付效率

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

manukminasyan/laravel-permission-manager

Composer 安装命令:

composer require manukminasyan/laravel-permission-manager

包简介

Create and manage your all permissions and routes

README 文档

README

LaravelPermissionManager

Total Downloads License

LaravelPermissionManager - It is a modern and dynamic permission management system based on Bouncer.

Introduction

If you need to speed up project development, and you need to use permissions and roles in your project, This package is perfect for you.

Installation

Install PermissionManager with composer:

$ composer require manukminasyan/laravel-permission-manager

The service provider will automatically get registered. Or you may manually add the service provider in your config/app.php file:

'providers' => [
    // ...
    ManukMinasyan\LaravelPermissionManager\LaravelPermissionManagerServiceProvider::class,
];

You can publish all the necessary files with:

php artisan vendor:publish --provider="ManukMinasyan\LaravelPermissionManager\LaravelPermissionManagerServiceProvider"

This is the contents of the published config file:

return [
    'database' => [
        'option_table' => 'permission_manager_options',
        'model_table' => 'permission_manager_models',

        'group_table' => 'permission_manager_groups',
        'route_table' => 'permission_manager_routes',
        'route_permission_table' => 'permission_manager_route_permission'
    ],

    'user_model' => \App\User::class,

    'middleware' => [
          'web', 'auth'
    ],

    'route' => 'permission-manager'
];

Add Bouncer's trait to your user model:

use Silber\Bouncer\Database\HasRolesAndAbilities;

class User extends Model
{
    use HasRolesAndAbilities;
}

Finally, run the migrations:

php artisan migrate

Congratulations, you have successfully set up the project. You can access the permission manager control panel using the URI "/permission-manager".

Important information

The development of the package is not complete fully. you can install and evaluate my work. Thanks

统计信息

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

GitHub 信息

  • Stars: 88
  • Watchers: 6
  • Forks: 7
  • 开发语言: PHP

其他信息

  • 授权协议: MIT
  • 更新时间: 2019-02-01

承接程序开发

PHP开发

VUE

Vue开发

前端开发

小程序开发

公众号开发

系统定制

数据库设计

云部署

网站建设

安全加固