Weave Code
Code Weaver
Helps Laravel developers discover, compare, and choose open-source packages. See popularity, security, maintainers, and scores at a glance to make better decisions.
Feedback
Share your thoughts, report bugs, or suggest improvements.
Subject
Message

Laravel Dashboard Laravel Package

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.

View on GitHub
Deep Wiki
Context7
4.0.0

Summary

Version 4 modernizes laravel-dashboard with updated dependencies, proper PHP enums, and improved developer tooling.

Breaking changes

  • Livewire 4 required (drops Livewire 3 support)
  • Laravel 11+ required (drops Laravel 10 support)
  • Tailwind CSS 4 — upgraded from v1, using new [@theme](https://github.com/theme) directive and [@tailwindcss](https://github.com/tailwindcss)/browser CDN for the default view
  • Dashboard::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 property
  • DashboardTileComponent::$refreshIntervalInSeconds renamed to $refreshInterval
  • Fluent methods return static instead of self
  • Migration stub uses anonymous class

New features

  • BaseTileComponent — abstract Livewire component with #[Defer] attribute and a skeleton placeholder, giving tiles lazy-loading out of the box
  • Theme and Mode enums — type-safe theme/mode handling replacing string constants
  • lazy and defer props on <x-dashboard-tile> component
  • PHPStan level 8 with Larastan

Improvements

  • Migrated test suite from PHPUnit to Pest
  • Expanded test coverage: new tests for DashboardComponent, UpdateModeComponent, theme query parameters, tile edge cases
  • CI matrix now includes PHP 8.5
  • Removed inline CSS injection from service provider (CSS now loaded via Tailwind browser CDN in view)
  • Removed unused $defaultTheme contextual binding from service provider
  • Constructor property promotion across components
  • Typed return types on all methods
  • Removed yarn.lock / husky / lint-staged, switched to npm with modern dependency versions

Upgrade guide

See UPGRADE.md for detailed migration instructions.

New Contributors

Full Changelog: https://github.com/spatie/laravel-dashboard/compare/3.3.1...4.0.0

3.3.1

Support Livewire 4

3.2.0

What's Changed

New Contributors

Full Changelog: https://github.com/spatie/laravel-dashboard/compare/3.1.1...3.2.0

3.1.1

What's Changed

New Contributors

Full Changelog: https://github.com/spatie/laravel-dashboard/compare/3.1.0...3.1.1

3.0.2
  • Reload page on session expiration

Full Changelog: https://github.com/spatie/laravel-dashboard/compare/3.0.1...3.0.2

3.0.1
  • Fix for Livewire 3
3.0.0
  • Update for Livewire 3
2.1.1

What's Changed

New Contributors

Full Changelog: https://github.com/spatie/laravel-dashboard/compare/2.1.0...2.1.1

2.0.1
  • allow PHP 8
2.0.0
  • add support for Livewire 2
  • drop support for Laravel 7
1.3.1
  • add support for Laravel 8
1.3.0
  • allow to override the external dependencies (#41)
1.2.0
  • Add --color-success CSS variable
1.1.0
  • add stacks for assets and scripts on render tile (#16)
1.0.0
  • initial release
Weaver

How can I help you explore Laravel packages today?

Conversation history is not saved when not logged in.
Prompt
Add packages to context
No packages found.
davejamesmiller/laravel-breadcrumbs
artisanry/parsedown
christhompsontldr/phpsdk
enqueue/dsn
bunny/bunny
enqueue/test
enqueue/null
enqueue/amqp-tools
milesj/emojibase
bower-asset/punycode
bower-asset/inputmask
bower-asset/jquery
bower-asset/yii2-pjax
laravel/nova
spatie/laravel-mailcoach
spatie/laravel-superseeder
laravel/liferaft
nst/json-test-suite
danielmiessler/sec-lists
jackalope/jackalope-transport