spatie/laravel-dashboard
Build beautiful, Livewire-powered dashboards in Laravel. Provides base CSS, dashboard and tile view components, and a Tile model to persist fetched data so tiles can update themselves via polling.
Version 4 modernizes laravel-dashboard with updated dependencies, proper PHP enums, and improved developer tooling.
[@theme](https://github.com/theme) directive and [@tailwindcss](https://github.com/tailwindcss)/browser CDN for the default viewDashboard::getTheme() now returns Theme enum, Dashboard::getMode() returns Mode enum (instead of strings)Tile model uses $fillable instead of $guarded = [], and casts() method instead of $casts propertyDashboardTileComponent::$refreshIntervalInSeconds renamed to $refreshIntervalstatic instead of selfBaseTileComponent — abstract Livewire component with #[Defer] attribute and a skeleton placeholder, giving tiles lazy-loading out of the boxTheme and Mode enums — type-safe theme/mode handling replacing string constantslazy and defer props on <x-dashboard-tile> componentDashboardComponent, UpdateModeComponent, theme query parameters, tile edge cases$defaultTheme contextual binding from service provideryarn.lock / husky / lint-staged, switched to npm with modern dependency versionsSee UPGRADE.md for detailed migration instructions.
Full Changelog: https://github.com/spatie/laravel-dashboard/compare/3.3.1...4.0.0
Support Livewire 4
Full Changelog: https://github.com/spatie/laravel-dashboard/compare/3.1.1...3.2.0
Full Changelog: https://github.com/spatie/laravel-dashboard/compare/3.1.0...3.1.1
Full Changelog: https://github.com/spatie/laravel-dashboard/compare/3.0.2...3.1.0
Full Changelog: https://github.com/spatie/laravel-dashboard/compare/3.0.1...3.0.2
Full Changelog: https://github.com/spatie/laravel-dashboard/compare/2.1.3...2.1.4
Full Changelog: https://github.com/spatie/laravel-dashboard/compare/2.1.2...2.1.3
Full Changelog: https://github.com/spatie/laravel-dashboard/compare/2.1.1...2.1.2
Full Changelog: https://github.com/spatie/laravel-dashboard/compare/2.1.0...2.1.1
Full Changelog: https://github.com/spatie/laravel-dashboard/compare/2.0.1...2.1.0
--color-success CSS variableHow can I help you explore Laravel packages today?