Download the PHP package rynbd/lyrapanel without Composer
On this page you can find all versions of the php package rynbd/lyrapanel. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Informations about the package lyrapanel
LyraPanel
A comprehensive, production-ready Laravel 12 admin panel package with RBAC, dynamic CRUD, user management, audit trails, and more.
Features
- Role-Based Access Control (RBAC) — Roles and fine-grained privileges with middleware
- User Management — Full CRUD, suspension, impersonation, role assignment
- Dynamic Resource CRUD — Register any Eloquent model for automatic CRUD via
HasDynamicCrudtrait - Admin & User Dashboards — Separate dashboards with stats and quick actions
- Audit Trail — Comprehensive logging of all admin actions with old/new value diff
- User Impersonation — Login as any user with one click (admin-only)
- Invitation System — Invite users via email with role pre-assignment
- Settings Management — UI-based configuration for branding, features, and themes
- Admin Bar — Global notice bar for system-wide announcements
- Dark/Light Theme — Toggle between themes with
localStoragepersistence, shadcn/ui-inspired CSS variables - Artisan Install Command — Interactive installer for quick setup
Requirements
- PHP 8.2+
- Laravel 12.x
- Laravel Sanctum 4.x (included)
Installation
1. Require the package
2. Run the install command
This interactive command will:
- Publish configuration and migration files
- Run migrations to create required tables
- Add required traits to your
Usermodel - Seed default roles and privileges
- Create an admin user
Manual Installation
If you prefer manual setup:
Then add the following traits to your User model:
Configuration
Publish and edit the config file at config/lyrapanel.php:
Usage
Roles & Privileges
Middleware
Dynamic CRUD Resources
Add the HasDynamicCrud trait to any model:
Register the resource in config/lyrapanel.php:
Supported field types: text, textarea, number, email, select, boolean, date, datetime, image, file.
User Suspension
Audit Logging
Impersonation
Admins can impersonate users from the Users management page. A yellow banner shows when impersonating, with a "Return to Admin" button.
Route Structure
| Route | Description |
|---|---|
/panel/admin |
Admin Dashboard |
/panel/admin/users |
User Management |
/panel/admin/roles |
Role Management |
/panel/admin/privileges |
Privilege Management |
/panel/admin/resources/{resource} |
Dynamic CRUD |
/panel/admin/audit |
Audit Logs |
/panel/admin/settings |
Settings |
/panel/admin/invitations |
Invitations |
/panel/user |
User Dashboard |
/panel/user/profile |
User Profile |
Customization
Views
Publish views for customization:
Theme
The package uses shadcn/ui-inspired CSS variables. Customize in the published layout files or override in your CSS:
License
MIT License. See LICENSE for details.# lyra-panel