alp-develop/laravel-livewire-panel
Laravel admin panel framework powered by Livewire (v3/v4). Supports Bootstrap 4/5 and Tailwind CSS, with an installer for URL prefix, navigation mode, auth/gates, registration, optional CDN libs, and publishable views. Compatible with Laravel 10–13.
panel:make-module) enables clean separation of concerns for microservices or multi-tenant admin interfaces.#[Layout] attribute and PanelAuthMiddleware simplify integration with existing Livewire components.--panel-*) allows theming without vendor lock-in. The ThemeInterface enables custom theme implementations.Login, Registration) and PanelManager facade provide hooks for analytics, logging, or third-party integrations (e.g., Slack alerts).PanelAuthMiddleware) and components (e.g., #[Layout('panel::layouts.app')]). The interactive installer (panel:install) automates configuration.panel::card).data-navigate-once for CDN scripts reduce bundle size and improve SPA performance.scoped() bindings in Octane).#[Locked] properties or livewire:navigating events.localStorage. Conflicts may arise with SPAs using other state management (e.g., Pinia, Redux).darkreader).SearchRegistry caching), heavy usage of PanelManager or PanelRenderer could bloat memory.rate_limiting).not-found) requires understanding the panel:make-component scaffolding.scoped() binding support critical for your widgets? If yes, test compatibility early.localStorage collisions.admin, vendor)? Test panel isolation (routes, gates, themes).PanelGate integration.PanelRateLimitMiddleware and polling under high concurrency.@panel) and components (<x-panel::... />) for templating.PanelAuthMiddleware.composer require alp-develop/laravel-livewire-panel and php artisan panel:install with --defaults or interactive prompts.config for manual routes or modules for auto-generated).#[Layout('panel::layouts.app')].PanelAuthMiddleware and panel.{panelId}. naming.panel:make-widget or extend existing ones.| Feature | Compatibility | Mitigation |
|---|---|---|
| Livewire 3/4 | ✅ Full support | Test both versions; prefer 4 for new features. |
| Laravel 10–13 | ✅ Supported | Use up() in composer.json for minor updates. |
| Tailwind/Bootstrap | ✅ Pre-styled components | Extend via CSS variables or custom themes. |
| Spatie Laravel-Permission | ✅ Gate driver support | Fallback to Laravel’s native gates if needed. |
| Octane/Horizon | ⚠️ Polling may need tuning | Adjust rate_limiting config. |
| Custom Auth | ⚠️ May conflict with PanelAuthMiddleware |
Extend middleware or use guard() config. |
| RTL Languages | ❌ Undocumented | Manually override CSS/Blade directives. |
Auth::routes() with panel:install’s auth views or extend existing ones.PanelAuthMiddleware with panel.{panelId}. naming.#[Layout('panel::layouts.app')].panel:make-widget) or extend built-in modules.panel:make-* commands reduce boilerplate (e.g., widgets, modules).Panel:: facade centralizes access to registries (themes, widgets).not-found) requires understanding the scaffolding.localStorage reliance for sidebar/dark mode may need manual cleanup in edge cases.How can I help you explore Laravel packages today?