techaxion/user-roleright-laravel 问题修复 & 功能扩展

解决BUG、新增功能、兼容多环境部署,快速响应你的开发需求

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

techaxion/user-roleright-laravel

最新稳定版本:v1.0.24

Composer 安装命令:

composer require techaxion/user-roleright-laravel

包简介

User Role and Right Management With Route

README 文档

README

User Role and Right Management With Route

Features

  • Manage users, roles, and permissions
  • Assign roles and permissions to users
  • Middleware for route protection
  • Easy integration with Laravel projects

Installation

composer require techaxion/user-roleright-laravel
* Checks if the 'module_action' table exists to prevent reinstallation.
* Publishes package routes using the 'vendor:publish' Artisan command.
* Runs package-specific migrations for required tables.
* Seeds the 'module_action' table with initial data.
* Publishes package configuration and other assets.
* Appends a require statement for dynamic routes to 'routes/web.php'.
* Adds a 'remove-useraccess' script to 'composer.json' for easy package removal.

uninstall

composer run-script remove-useraccess
 * Checks for the existence of the `routes/UserAccessDynamicRoutes.php` file:
 *    - If it exists, removes the dynamic route inclusion from `routes/web.php` and deletes the dynamic routes file.
 *    - If unable to open `routes/web.php` for writing, outputs an error message.
 * Opens and decodes the `composer.json` file, removes the `remove-useraccess` script entry, and writes the updated JSON back to the file.
 * Outputs an informational message indicating the completion of the package removal process.

Usage

License

MIT

统计信息

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

GitHub 信息

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

其他信息

  • 授权协议: MIT
  • 更新时间: 2025-04-15

承接程序开发

PHP开发

VUE

Vue开发

前端开发

小程序开发

公众号开发

系统定制

数据库设计

云部署

网站建设

安全加固