Download the PHP package fereydooni/laravel-user-management without Composer
On this page you can find all versions of the php package fereydooni/laravel-user-management. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download fereydooni/laravel-user-management
More information about fereydooni/laravel-user-management
Files in fereydooni/laravel-user-management
Package laravel-user-management
Short Description Dynamic user management for Laravel with attribute-based field and role definitions
License MIT
Informations about the package laravel-user-management
Laravel User Management
A comprehensive user management package for Laravel with Spatie's role-permission integration and attribute-based authorization.
Features
- User management with authentication
- Role and permission management using Spatie's package
- Attribute-based authorization with support for:
- Permission-based authorization
- Role-based authorization
- User type-based authorization
- Easy to use and configure
- Extensible architecture
Installation
Publish the configuration file:
Configuration
The package configuration can be found in config/user-management.php
. Here you can customize:
- Default roles
- Default permissions
- User model
- Attribute-based authorization settings
- Default user type
Usage
Basic User Management
Role and Permission Management
Attribute-Based Authorization
You can use attributes to protect your controller methods with various combinations of permissions, roles, and user types:
Middleware
Register the middleware in your app/Http/Kernel.php
:
Then use it in your routes:
Examples
Checking Permissions
Registering Attribute Gates
Security
If you discover any security related issues, please email [email protected] instead of using the issue tracker.
License
The MIT License (MIT). Please see License File for more information.