定制 softlinks/rbac 二次开发

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

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

softlinks/rbac

最新稳定版本:v1.0.8

Composer 安装命令:

composer require softlinks/rbac

包简介

Softlinks RBAC Package for Laravel

README 文档

README

A robust, flexible, and easy-to-install Role-Based Access Control (RBAC) package for Laravel applications. This package scaffolds a complete admin panel, authentication guard, and route-based permission system.

🚀 Key Features

  • Automated Installation: Scaffolds all necessary models, controllers, and views with a single command.
  • Dynamic Guard Registration: Automatically registers the admin guard at runtime—no more manual config tweaks.
  • Route-Based Permissions: Powerful permission checks based on URI slugs.
  • Admin Panel UI: Includes a premium login page and dashboard layout stubs.
  • Safe Uninstallation: Clean cleanup of all generated files.

📥 Installation

For Production Use (Global): Once published, you can install the package via Composer:

composer require softlinks/rbac

For Development Use (Local):

  1. Add the following to your root composer.json under autoload.psr-4:
    "Softlinks\\Rbac\\": "packages/Softlinks/Rbac/src/"
  2. Run composer dump-autoload.

🚀 Getting Started

After installing, run the interactive setup:

php artisan softlinks:install-rbac

🌍 Making it Public (GitHub & Packagist)

To make this package work for others globally via composer require:

  1. Host on GitHub: Create a repository named softlinks-rbac and push this package folder.
  2. Submit to Packagist: Go to Packagist.org, log in, and submit your GitHub URL.
  3. Automatic Autoload: Once published, Composer will automatically handle the Softlinks\Rbac namespace—no manual composer.json edits required!

🗑️ Clean Uninstallation

The delete command is now "smart"—it will automatically remove all files, revert config changes, and even clean up its own namespace from your composer.json if it was added manually.

php artisan softlinks:delete-rbac

Developed by Softlinks.

统计信息

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

GitHub 信息

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

其他信息

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

承接程序开发

PHP开发

VUE

Vue开发

前端开发

小程序开发

公众号开发

系统定制

数据库设计

云部署

网站建设

安全加固