zdearo / livewire-panels
Developer-defined multi-panel foundation for Laravel and Livewire applications.
Requires
- php: ^8.4
- illuminate/auth: ^13.0
- illuminate/contracts: ^13.0
- illuminate/routing: ^13.0
- illuminate/support: ^13.0
- livewire/flux: ^2.14
- livewire/livewire: ^4.0
Requires (Dev)
- laravel/pint: ^1.29
- orchestra/testbench: ^11.0
- pestphp/pest: ^4.0
- pestphp/pest-plugin-laravel: ^4.0
- phpstan/phpstan: ^2.1
- rector/rector: ^2.4
README
Developer-defined multi-panel infrastructure for Laravel applications using Livewire 4 and Flux UI.
This package is the reusable core for a starter-kit ecosystem. It owns panel registration, routing, page descriptors, navigation contracts, authentication guards, Flux-based panel shells, Vite entrypoints, and generator commands. The consuming Laravel app or starter kit owns login pages, user models, dashboards, and app-specific Livewire components.
Quick Start
Install the package:
composer require zdearo/livewire-panels
Create a panel:
php artisan make:panel admin
Create a panel with a custom shell class:
php artisan make:panel admin --shell
Documentation
The full usage guide lives in docs/getting-started.md.
It covers:
- installation;
- panel providers;
- pages and page groups;
- navigation groups and navigation modes;
- panel shell customization;
- authentication and login routes;
- the
Panelsfacade; - CSS and Vite setup;
- Laravel Boost guidelines.
Laravel Boost
This package ships Laravel Boost guidelines at resources/boost/guidelines/core.blade.php. Consuming apps that use Laravel Boost can load these guidelines when running:
php artisan boost:install
Development
Run the full package validation suite:
composer test
This runs Rector dry-run, Pint, PHPStan, and Pest with coverage.