iocod/laravel-permissions
最新稳定版本:v1.0.0
Composer 安装命令:
composer require iocod/laravel-permissions
包简介
Lightweight permission system for Laravel Applications
README 文档
README
Lightweight permission system for Laravel Applications.
Installation
You can install the package via composer:
composer require iocod/laravel-permissions
Setup
Publish the configuration file:
php artisan vendor:publish --tag="permissions-config"
Usage
Add the HasPermissions trait to your User model:
use Iocod\LaravelPermissions\Traits\HasPermissions; class User extends Authenticatable { use HasPermissions; }
License
The MIT License (MIT). Please see License File for more information.
统计信息
- 总下载量: 5
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 1
- 点击次数: 3
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2026-02-12