承接 vizrex/laratrust-ingest 相关项目开发

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

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

vizrex/laratrust-ingest

Composer 安装命令:

composer require vizrex/laratrust-ingest

包简介

Utility package to ingest roles and permissions easily using command line.

README 文档

README

READ THIS FIRST

It is highly recommended for all contributors to update this file whenever there's a major update in source code. Use this tool for easy editing or visit this page for comprehensive guide on markdown syntax.

Introduction

This package provides an easy way to seed roles and permissions from a csv file to database tables created by Laratrust Package.

CAUTION

Following tables will be truncated on execution of this command:

  • permission_user
  • permission_role
  • permissions
  • role_user
  • roles

Signature

roles-and-permissions:update {csvFilePath}

CSV Format

Columns

First 3 columns will have title as follow:

  • permission_name
  • permission_display_name
  • permission_description

Next columns shall have the role name and display_name separated by semicolon ; as follow: super-admin;Super Admin

Rows

Each row will have name of permissions, its display name and description respectively in first three cells. Following cells will have either y or n depending on the assignment of that permission to corresponding role.

Sample

Here's a Sample CSV File.

To-dos

Following are the approved items:

  • Item-1

Wishlist

Add the suggestions in this wishlist. Only approved wishlist items can be moved to To-dos list:

  • Item-1

统计信息

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

GitHub 信息

  • Stars: 1
  • Watchers: 2
  • Forks: 3
  • 开发语言: PHP

其他信息

  • 授权协议: proprietary
  • 更新时间: 2019-01-16

承接程序开发

PHP开发

VUE

Vue开发

前端开发

小程序开发

公众号开发

系统定制

数据库设计

云部署

网站建设

安全加固