PHPackages                             sarker/laravel-role-permission-ui - 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. sarker/laravel-role-permission-ui

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

sarker/laravel-role-permission-ui
=================================

Minimal Role &amp; Permission UI for Laravel (built on Spatie Permission).

v1.0.0(7mo ago)013MITBladePHP ^7.4|^8.0

Since Sep 24Pushed 7mo agoCompare

[ Source](https://github.com/usarker099/laravel-role-permission-ui)[ Packagist](https://packagist.org/packages/sarker/laravel-role-permission-ui)[ RSS](/packages/sarker-laravel-role-permission-ui/feed)WikiDiscussions main Synced 1mo ago

READMEChangelogDependencies (2)Versions (2)Used By (0)

🚀 Laravel Role &amp; Permission UI
==================================

[](#-laravel-role--permission-ui)

[![Latest Version on Packagist](https://camo.githubusercontent.com/c30bedd3fcadd332c508f26781757c252abcb1236afd321c222c98129e120dd2/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f7361726b65722f6c61726176656c2d726f6c652d7065726d697373696f6e2d75692e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/sarker/laravel-role-permission-ui)[![Total Downloads](https://camo.githubusercontent.com/de739153aedd754322e7116720821af6d1c0b806a2a38a50e0d25265f998c1ea/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f7361726b65722f6c61726176656c2d726f6c652d7065726d697373696f6e2d75692e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/sarker/laravel-role-permission-ui)[![License](https://camo.githubusercontent.com/b61d1c56de3bbcb92efdc349ac3220cd8c33f2cef1473dff2dff48439141d4a9/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f6c6963656e73652f7361726b65722f6c61726176656c2d726f6c652d7065726d697373696f6e2d75692e7376673f7374796c653d666c61742d737175617265)](LICENSE)

A simple **[Spatie Laravel Permission](https://github.com/spatie/laravel-permission)** powered **Role &amp; Permission UI**.
It’s got everything you need already built in — and you get to **pick your favorite UI stack**:

- 🎨 **Bootstrap** – The good old classic. Solid, reliable, familiar.
- 🎯 **Tailwind CSS** – Minimal, modern, and super customizable.
- ⚡ **Inertia.js + React** – SPA vibes with smooth UX.

---

✨ Features
----------

[](#-features)

- 🔑 Full **User / Role / Permission** management out of the box
- 🎛️ Switch UI stack with **one simple artisan command**
- 📦 Easy install with **Composer**
- 🛠️ Extensible and developer-friendly

---

⚡ Installation
--------------

[](#-installation)

### Step 1: Require the package

[](#step-1-require-the-package)

Use Composer to add the package to your project.

```
composer require sarker/laravel-role-permission-ui

```

### Step 2: Run the installer

[](#step-2-run-the-installer)

After the package is installed, run the Artisan command to publish the necessary files for your chosen UI stack.

```
php artisan role-permission-ui:install

```

You will be prompted to select your preferred UI framework. The installer will then automatically publish the correct controllers, views, and routes.

---

⚙️ Dependencies &amp; Setup
---------------------------

[](#️-dependencies--setup)

Before installing this package, you'll need to set up a few core dependencies in your Laravel project (You might already have done this).

### Step 1: Install Laravel

[](#step-1-install-laravel)

If you haven't already, make sure you have a fresh Laravel project set up.

```
composer create-project laravel/laravel my-project-name

```

### Step 2: Install Spatie Laravel Permission

[](#step-2-install-spatie-laravel-permission)

This package is built on top of the powerful Spatie Laravel Permission package. You must install it first.

```
composer require spatie/laravel-permission

```

### Step 3: Configure Your Database

[](#step-3-configure-your-database)

Connect your database and run the migrations. This will create the necessary `roles` and `permissions` tables.

```
php artisan migrate

```

---

🎨 Project Dependencies by UI
----------------------------

[](#-project-dependencies-by-ui)

Depending on the UI you choose during installation, you might need to handle a few front-end dependencies.

- **Bootstrap**: The package's views use a standard CDN, so you don't need to install anything extra. Everything is handled out-of-the-box.
- **Tailwind**: For modern Laravel versions (v9+), Tailwind CSS is included by default, so no extra steps are required. If you're on an older version or need to install it explicitly, you can do so with this command:

    "npm install -D tailwindcss postcss autoprefixer"
- **Inertia + React**: The Inertia views also leverage Tailwind CSS, so the same rules as above apply.

---

🚀 Usage
-------

[](#-usage)

Once the installation is complete, your chosen UI is ready to go. Simply navigate to the corresponding routes in your application's browser.

### Bootstrap

[](#bootstrap)

Access your user, role, and permission management dashboards.

- `/bootstrap/roles`
- `/bootstrap/permissions`
- `/bootstrap/users`

### Tailwind

[](#tailwind)

Access your user, role, and permission management dashboards.

- `/tailwind/roles`
- `/tailwind/permissions`
- `/tailwind/users`

### Inertia + React

[](#inertia--react)

Access your user, role, and permission management dashboards.

- `/inertia/roles`
- `/inertia/permissions`
- `/inertia/users`

---

🤝 Contributing
--------------

[](#-contributing)

We welcome contributions! Please feel free to open an issue or submit a pull request if you find a bug or have a suggestion.

📄 License
---------

[](#-license)

###  Health Score

30

—

LowBetter than 64% of packages

Maintenance62

Regular maintenance activity

Popularity5

Limited adoption so far

Community6

Small or concentrated contributor base

Maturity40

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 100% of commits — single point of failure

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

###  Release Activity

Cadence

Unknown

Total

1

Last Release

231d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/895c7512d638fe02d315c3ded1ab038af9868b38a1501d572a9a9326c0f0ce31?d=identicon)[usarker099](/maintainers/usarker099)

---

Top Contributors

[![usarker099](https://avatars.githubusercontent.com/u/195254997?v=4)](https://github.com/usarker099 "usarker099 (19 commits)")

---

Tags

bootstrap5laravellaravel-role-managementlaravel-role-permission-crudlaravel-uirole-permission-uispattietailwindcss

### Embed Badge

![Health badge](/badges/sarker-laravel-role-permission-ui/health.svg)

```
[![Health](https://phpackages.com/badges/sarker-laravel-role-permission-ui/health.svg)](https://phpackages.com/packages/sarker-laravel-role-permission-ui)
```

###  Alternatives

[lab404/laravel-impersonate

Laravel Impersonate is a plugin that allows to you to authenticate as your users.

2.3k16.4M48](/packages/lab404-laravel-impersonate)[overtrue/laravel-follow

User follow unfollow system for Laravel.

1.2k404.7k5](/packages/overtrue-laravel-follow)[althinect/filament-spatie-roles-permissions

340954.7k9](/packages/althinect-filament-spatie-roles-permissions)[tuandm/laravue

A beautiful dashboard for Laravel built by VueJS

2.2k16.6k](/packages/tuandm-laravue)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
