PHPackages                             vormiaphp/ui-livewireflux-admin - 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. [Admin Panels](/categories/admin)
4. /
5. vormiaphp/ui-livewireflux-admin

ActiveLibrary[Admin Panels](/categories/admin)

vormiaphp/ui-livewireflux-admin
===============================

Vormia UI Livewire Flux Admin - Admin panel components and routes for Laravel applications using Livewire Volt and Flux

v4.0.2(1mo ago)031MITBladePHP ^8.2

Since Dec 2Pushed 1mo agoCompare

[ Source](https://github.com/vormiaphp/ui-livewireflux-admin)[ Packagist](https://packagist.org/packages/vormiaphp/ui-livewireflux-admin)[ RSS](/packages/vormiaphp-ui-livewireflux-admin/feed)WikiDiscussions main Synced 1mo ago

READMEChangelog (10)Dependencies (9)Versions (26)Used By (0)

Vormia UI Livewire Flux Admin
=============================

[](#vormia-ui-livewire-flux-admin)

[![Packagist](https://camo.githubusercontent.com/a0eeb0cfc6c9295a91f6f4d4c2c4528368a6f28e51d479633c347b816f3a1b97/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f766f726d69617068702f75692d6c69766577697265666c75782d61646d696e2e737667)](https://packagist.org/packages/vormiaphp/ui-livewireflux-admin)[![GitHub](https://camo.githubusercontent.com/53adeadfd3c0789f2be354aee38d616a8102c19b48582606b3e7ae39bee04de7/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f73746172732f766f726d69617068702f75692d6c69766577697265666c75782d61646d696e2e737667)](https://github.com/vormiaphp/ui-livewireflux-admin)

A Laravel package that provides a complete admin panel solution with pre-built components, routes, and views for managing categories, inheritance, locations, availability, and admin users. Built with Livewire 4 and Flux for a modern, reactive admin interface.

What is This Package?
---------------------

[](#what-is-this-package)

**Vormia UI Livewire Flux Admin** is a comprehensive admin panel package for Laravel applications that includes:

- **AdminPanel View Component** - A reusable Blade component for consistent admin panel layouts
- **Pre-configured Admin Routes** - Complete CRUD routes for all admin sections
- **Livewire Components** - Single-file Livewire components for categories, inheritance, locations, availability, and admin management
- **Automatic Sidebar Integration** - Sidebar menu injection (requires livewire/flux)
- **Role Management** - See `docs/ROLE-ON-REGISTRATION.md` for assigning roles on registration

This package is designed to work seamlessly with the Vormia ecosystem and follows Laravel best practices.

Laravel Compatibility
---------------------

[](#laravel-compatibility)

This package supports:

- **Laravel** ^12.0 or ^13.0
- **PHP** ^8.2

This package runs on **Vormia v5**. Required dependencies (installed automatically when you require this package):

- **vormiaphp/vormia** ^5.0 (no less)
- **livewire/flux** ^1.0
- **laravel/fortify** ^2.0

This package targets **Livewire 4** where Volt is bundled with Livewire. The admin page stubs are Livewire anonymous components (`new class extends Component`) and rely on your app’s **default Livewire layout**.

Installation Process
--------------------

[](#installation-process)

### Step 1: Install the Package

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

```
composer require vormiaphp/ui-livewireflux-admin
```

### Step 2: Run the Installation Command

[](#step-2-run-the-installation-command)

```
php artisan ui-livewireflux-admin:install
```

This command will:

1. ✅ Check for required dependencies
2. ✅ Copy package stubs into your application (views, `AdminPanel`, etc.)
3. ✅ Publish Laravel Fortify app actions when `PasswordValidationRules` is not present yet (see `docs/FORTIFY-IS-ACTIVE.md` if you need to re-publish with `--force`)
4. ✅ Inject routes into `routes/web.php`
5. ✅ Inject sidebar menu
6. ✅ Copy `EnsureUserIsActive.php` — register it in Fortify per `docs/FORTIFY-IS-ACTIVE.md`
7. ✅ Clear application caches

### Step 3: Verify Installation

[](#step-3-verify-installation)

After installation, verify that:

- `app/View/Components/AdminPanel.php` and related views are present
- `app/Actions/Fortify/` contains Fortify-published actions (including `PasswordValidationRules` when the publish step ran)
- Routes were added to `routes/web.php`
- Sidebar menu was added
- Caches were cleared

Manual Configuration (If Needed)
--------------------------------

[](#manual-configuration-if-needed)

### Routes Not Injected Automatically

[](#routes-not-injected-automatically)

If the routes were not automatically injected into `routes/web.php`, manually add them:

1. Open `routes/web.php`
2. Find the `Route::middleware(['auth'])->group(function () { ... });` block
3. Add the routes from `vendor/vormiaphp/ui-livewireflux-admin/src/stubs/reference/routes-to-add.php` inside this block

**Example:**

```
