curvestech / laravel-roles
Simple role > permissions package for laravel apps.
Installs: 0
Dependents: 0
Suggesters: 0
Security: 0
Stars: 0
Watchers: 0
Forks: 0
Open Issues: 0
pkg:composer/curvestech/laravel-roles
Requires
- php: ^8.0
- illuminate/console: ^8.0|^9.0|^10.0|^11.0|^12.0
- illuminate/database: ^8.0|^9.0|^10.0|^11.0|^12.0
- illuminate/http: ^8.0|^9.0|^10.0|^11.0|^12.0
- illuminate/support: ^8.0|^9.0|^10.0|^11.0|^12.0
This package is auto-updated.
Last update: 2026-01-29 06:09:41 UTC
README
A simple package to add roles and permissions support to your Laravel application.
Features
- Artisan command to install migrations for roles and permissions.
- Migration stubs for
roles,permissions, and pivot tables.
Installation
-
Require the package via Composer:
composer require curvestech/laravel-roles -
Register the service provider (if not using auto-discovery):
// config/app.php 'providers' => [ Curvestech\LaravelRoles\RolesServiceProvider::class, ],
Usage
-
Run the install command to publish migrations:
php artisan roles:install -
Run migrations:
php artisan migrate
Customization
- Edit the migration stubs in
src/stubs/if you need to customize the tables.
License
MIT