Download the PHP package codeflextech/permission-manager without Composer
On this page you can find all versions of the php package codeflextech/permission-manager. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download codeflextech/permission-manager
More information about codeflextech/permission-manager
Files in codeflextech/permission-manager
Package permission-manager
Short Description A plug-and-play Roles & Permissions management UI for Laravel using spatie/laravel-permission. Drop it in any project.
License MIT
Informations about the package permission-manager
codeflextech/permission-manager
A plug-and-play Roles & Permissions management UI for any Laravel project using spatie/laravel-permission + Livewire 3.
Built by CodeFlexTech.
Features
- ✅ Permission CRUD — create, edit, delete with dot-notation grouping (
module.action) - ✅ Role CRUD — create, edit, delete with user/permission counts
- ✅ Role → Permissions — visual grouped checkbox matrix with select/deselect all per group
- ✅ User → Roles — assign/revoke multiple roles per user
- ✅ Dashboard — stats overview + quick action cards
- ✅ Auto permission groups — auto-detects groups from
module.actionnaming - ✅ Super admin protection — blocks deletion of super admin role
- ✅ Zero Tailwind build required — ships its own standalone CSS
- ✅ Livewire 3 — real-time search, modals, loading states, no full page reloads
- ✅ Configurable — layout, middleware, guard, user model, route prefix
Requirements
| Dependency | Version |
|---|---|
| PHP | ^8.2 |
| Laravel | ^11.0 |
| spatie/laravel-permission | ^6.0 |
| livewire/livewire | ^3.0 |
Installation
Step 1 — Install via Composer
Step 2 — Publish assets
Step 3 — Make sure spatie migrations are run
Step 4 — Add HasRoles trait to your User model
Step 5 — Visit the UI
Configuration
After publishing, edit config/permission-manager.php:
Middleware / Access Control
By default only auth middleware is applied. To restrict to admins only, update config:
Or use a gate:
Permission Naming Convention
This package works best with dot-notation:
The UI auto-groups by the prefix before the first ..
Using Permissions in Your App
Seeding Permissions
Recommended: seed permissions in a seeder, use the UI only for role assignment.
Routes
| Method | URL | Name | Description |
|---|---|---|---|
| GET | /permission-manager | permission-manager.index | Dashboard |
| GET | /permission-manager/permissions | permission-manager.permissions | Permissions list |
| GET | /permission-manager/roles | permission-manager.roles | Roles list |
| GET | /permission-manager/roles/{id}/permissions | permission-manager.role-permissions | Assign permissions to role |
| GET | /permission-manager/users | permission-manager.users | Assign roles to users |
Customizing Views
Views are published to resources/views/vendor/permission-manager/.
Changelog
v1.0.0
- Initial release
- Permission CRUD with group auto-detection
- Role CRUD with super admin protection
- Role → Permission grouped matrix
- User → Role assignment
- Standalone CSS, no Tailwind build required
- Livewire 3 real-time UI
License
MIT — free to use in any project.
Made with ❤️ by CodeFlexTech
All versions of permission-manager with dependencies
laravel/framework Version >=11.0
spatie/laravel-permission Version >=6.0
livewire/livewire Version >=3.0