Looking to hire Laravel developers? Try LaraJobs

laravel-permissions maintained by iocod

Description
Lightweight permission system for Laravel Applications
Author
Last update
2026/03/16 11:21 (dev-main)
License
Links
Downloads
5

Comments
comments powered by Disqus

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.