PHPackages                             abdallahk/laravel-role-manager - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [Authentication &amp; Authorization](/categories/authentication)
4. /
5. abdallahk/laravel-role-manager

ActiveLibrary[Authentication &amp; Authorization](/categories/authentication)

abdallahk/laravel-role-manager
==============================

A Laravel package for managing roles and permissions with Vue 3 UI built on top of Spatie Laravel Permission

v1.0(11mo ago)84MITVuePHP ^8.2

Since Jun 13Pushed 11mo agoCompare

[ Source](https://github.com/abdallahk/laravel-role-manager)[ Packagist](https://packagist.org/packages/abdallahk/laravel-role-manager)[ RSS](/packages/abdallahk-laravel-role-manager/feed)WikiDiscussions master Synced 1mo ago

READMEChangelog (1)Dependencies (4)Versions (2)Used By (0)

Laravel Role Manager
====================

[](#laravel-role-manager)

A comprehensive Laravel package for managing roles and permissions with a beautiful Vue 3 user interface. Built on top of the powerful Spatie Laravel Permission package, this package provides an intuitive web interface for managing your application's authorization system.

Features
--------

[](#features)

- 🎨 **Beautiful Vue 3 Interface** - Modern, responsive UI built with Tailwind CSS
- 🔐 **Complete Role Management** - Create, edit, delete, and assign roles
- 🛡️ **Permission Management** - Manage permissions with an intuitive interface
- 👥 **User Role Assignment** - Easily assign and remove roles from users
- 📊 **Dashboard Overview** - Get insights into your authorization system
- 🔍 **Search &amp; Filter** - Find roles, permissions, and users quickly
- 📱 **Responsive Design** - Works perfectly on desktop and mobile
- ⚡ **Powered by Spatie's Laravel Permission Package** - Seamless experience
- 🚀 **Easy Installation** - One command setup with automatic configuration

Requirements
------------

[](#requirements)

- PHP 8.1+
- Laravel 10.0+
- Node.js &amp; NPM
- Vue 3

Installation
------------

[](#installation)

Install the package via Composer:

```
composer require abdallahk/laravel-role-manager
```

Run the installation command:

```
php artisan role-manager:install
```

This command will:

- Publish configuration files
- Publish Vue components and assets

Run the migrations:

```
php artisan migrate
```

Configuration
-------------

[](#configuration)

### User Model Setup

[](#user-model-setup)

Add the `HasRoles` trait to your User model:

```
