laravel-permissions maintained by iocod
Description
Lightweight permission system for Laravel Applications
Author
Last update
2026/03/16 11:21
(dev-main)
License
Downloads
5
Laravel Permissions
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.