vormiaphp/ui-livewireflux-admin
Laravel admin panel package for Vormia apps with Livewire 4 + Flux. Ships prebuilt routes, views, and Livewire components for managing categories, inheritance, locations, availability, and admin users, plus automatic sidebar integration and role assignment support.
ui-livewireflux-admin:install: Fortify publish now uses --tag=fortify-support only (action stubs under app/Actions/Fortify/, etc.). Fortify database migrations (fortify-migrations, including two-factor and passkeys) are no longer published by install, avoiding duplicate-column errors on apps that already had those columns. Publish migrations manually when needed: php artisan vendor:publish --tag=fortify-migrations (see README.md and docs/GUIDE.md).README.md documents optional Fortify migrations; docs/GUIDE.md explains Fortify tags and safer --force on fortify-support; php artisan ui-livewireflux-admin:help adds troubleshooting and an example for fortify-migrations.vendor:publish --tag=fortify-migrations (then migrate) when that schema is not already present.vendor:publish --provider="Laravel\Fortify\FortifyServiceProvider" --tag=fortify-support (and --force only on that tag) instead of publishing the whole Fortify provider with --force, which can republish migrations and reintroduce duplicate files.require: livewire/livewire is now ^4.0 (previously ^4.1), so apps on Livewire 4.0.x satisfy the dependency without being forced to 4.1+ for this package alone.composer update previously failed because you stayed on Livewire 4.0.x, try again after upgrading to this release.php artisan ui-livewireflux-admin:install runs vendor:publish for Laravel\Fortify\FortifyServiceProvider when app/Actions/Fortify/PasswordValidationRules.php is missing, so admin views that use App\Actions\Fortify\PasswordValidationRules work out of the box. If publish fails or the file is still missing, the installer prints the manual command and points to docs/FORTIFY-IS-ACTIVE.md (including optional --force re-publish).docs/FORTIFY-IS-ACTIVE.md covers PasswordValidationRules, install behavior, and careful use of --force. docs/ROLE-ON-REGISTRATION.md notes that CreateNewUser.php comes from Fortify publish. docs/UI-GUIDE.md and docs/AI-GUIDE.md clarify password forms and when App\... Fortify classes are intentional.ui-rules.mdc: Corrected outdated Volt / “light mode only” guidance; aligned with Livewire 4 anonymous components and dark:* stubs; points to the docs above.Consuming apps often lacked Fortify-published PasswordValidationRules and related actions, which broke admin user create/edit stubs. Automating Fortify publish during install (with safe skip when already present) reduces that failure mode.
php artisan ui-livewireflux-admin:install as usual; Fortify stubs publish when needed.PasswordValidationRules (or other Fortify files): see docs/FORTIFY-IS-ACTIVE.md for normal publish vs --force (backup customizations first).#[Layout('layouts.admin')] and now rely on your app’s default Livewire layout.README.md, docs/UI-GUIDE.md, and docs/AI-GUIDE.md were updated to match the new “default layout” approach.Projects without a layouts.admin view were hitting: Livewire page component layout view not found: [layouts.admin]. Removing the attribute prevents that mismatch and lets the consuming app control layout globally.
#[Layout('layouts.admin')] from those files).#[Layout('layouts.admin')] and now rely on your app’s default Livewire layout.README.md, docs/UI-GUIDE.md, and docs/AI-GUIDE.md were updated to match the new “default layout” approach.Projects without a layouts.admin view were hitting: Livewire page component layout view not found: [layouts.admin]. Removing the attribute prevents that mismatch and lets the consuming app control layout globally.
#[Layout('layouts.admin')] from those files).WithNotifications from the Vormia package namespace:
Vormia\Vormia\Traits\Livewire\WithNotifications\App\Models\Vrm\Taxonomy; they now use:
Vormia\Vormia\Models\TaxonomyVormiaPHP\Vormia\Facades\MediaForgedocs/UI-GUIDE.md (flow + style guide for building consistent admin UI)docs/AI-GUIDE.md (promptbook + workflow for using AI to generate consistent UI)Fresh installs (or projects without local App\... shims) could break because some shipped stub views were referencing app namespaces. This release aligns stub imports and model usage with the package-provided namespaces.
WithNotifications from the Vormia package namespace:
Vormia\Vormia\Traits\Livewire\WithNotifications\App\Models\Vrm\Taxonomy; they now use:
Vormia\Vormia\Models\TaxonomyVormiaPHP\Vormia\Facades\MediaForgedocs/UI-GUIDE.md (flow + style guide for building consistent admin UI)docs/AI-GUIDE.md (promptbook + workflow for using AI to generate consistent UI)Fresh installs (or projects without local App\... shims) could break because some shipped stub views were referencing app namespaces. This release aligns stub imports and model usage with the package-provided namespaces.
Livewire\Component + #[Layout('layouts.admin')])Livewire\Volt\Component referencesAllowing Laravel 13 support
All notable changes to vormiaphp/ui-livewireflux-admin will be documented here.
UILivewireFluxAdminServiceProvider.vormiaphp/vormia ^5.0 and livewire/livewire ^4.0 only.vormiaphp/vormia ^5, livewire/flux ^2, and laravel/fortify ^1|^2.vormiaphp/ui-livewireflux-admin — Admin panel for Laravel apps using Livewire Volt and Flux (Vormia ecosystem).
vormiaphp/vormia ^5.0, no less).livewire/flux ^1.0 and laravel/fortify ^2.0 are required.<x-admin-panel>)./admin for:
src/stubs/reference/.Vormia\Vormia\Models\Role and assigning roles on registration (see docs/ROLE-ON-REGISTRATION.md).EnsureUserIsActive.php stub and docs (docs/FORTIFY-IS-ACTIVE.md) for active-user checks.ui-livewireflux-admin:install — Install (copy stubs, inject routes & sidebar, optional Fortify stub, clear caches).ui-livewireflux-admin:update — Update package files (with backup under storage/app/ui-livewireflux-admin-backups/).ui-livewireflux-admin:uninstall — Remove installed files, routes, and sidebar items.ui-livewireflux-admin:help — Show usage and troubleshooting.ui-livewireflux-admin:check-dependencies — Verify required packages (Vormia, Flux, Fortify).| Item | Detail |
|---|---|
| Requires | vormiaphp/vormia ^5.0, livewire/flux ^1.0, laravel/fortify ^2.0 |
| Install | composer require vormiaphp/ui-livewireflux-admin then php artisan ui-livewireflux-admin:install |
| Routes | Injected into Route::middleware(['auth'])->group(...) in routes/web.php |
| Sidebar | Injected into Platform flux:sidebar.group in sidebar.blade.php |
You can delete this file after use; it is not intended to be committed.
Release Date: March 1, 2025
Version 3.0.0 introduces improved Fortify integration, better sidebar integration, and a simplified project structure.
EnsureUserIsActive.php instead of CreateNewUser.docs/ROLE-ON-REGISTRATION.md; this package no longer modifies CreateNewUser.resources/views/layouts/app/sidebar.blade.php and resources/views/components/layouts/app/sidebar.blade.php.^3.0 || ^4.0).^2.0.composer update vormiaphp/ui-livewireflux-admin.docs/ROLE-ON-REGISTRATION.md for setup.php artisan ui-livewireflux-admin:update to refresh stubs if needed.All notable changes to this project will be documented in this file.
The format is based on Keep a Changelog, and this project adheres to Semantic Versioning.
EnsureUserIsActive.php and FortifyServiceProvider.php from package stubs into the application for Laravel Fortify user-activation support*.backup) in UILivewireFlux file handlingCreateNewUser.php file is now restored to default state during uninstallation, removing any custom role attachmentsnavlist.group closing tag instead of after the Dashboard menu item. This provides more reliable insertion point detection.sidebar-menu-to-add.blade.php) for more accurate removal of menu items. This ensures all menu items are properly removed during uninstallation.[Previous release notes...]
All notable changes to this project will be documented in this file.
The format is based on Keep a Changelog, and this project adheres to Semantic Versioning.
CreateNewUser.php file is now restored to default state during uninstallation, removing any custom role attachmentsnavlist.group closing tag instead of after the Dashboard menu item. This provides more reliable insertion point detection.sidebar-menu-to-add.blade.php) for more accurate removal of menu items. This ensures all menu items are properly removed during uninstallation.[Previous release notes...]
All notable changes to this project will be documented in this file.
The format is based on Keep a Changelog, and this project adheres to Semantic Versioning.
navlist.group closing tag instead of after the Dashboard menu item. This provides more reliable insertion point detection.sidebar-menu-to-add.blade.php) for more accurate removal of menu items. This ensures all menu items are properly removed during uninstallation.[Previous release notes...]
v1.0.2 (Current) Fixed admin-panel.blade.php references in UILivewireFlux, UpdateCommand, and UninstallCommand Removed duplicate admin-panel.php file (kept only .blade.php) Standardized all file references to use .blade.php extension Updated category management: replaced 'Video' with 'Category' references Enhanced README with installation note for existing vormia users
How can I help you explore Laravel packages today?