roelgonzalez / laravel-dashboard-date-time-tile
A date & time tile for the Laravel Dashboard
Package info
github.com/roelgonzalez/laravel-dashboard-date-time-tile
pkg:composer/roelgonzalez/laravel-dashboard-date-time-tile
Requires
- php: ^8.3
- spatie/laravel-dashboard: ^4.0
Requires (Dev)
- phpunit/phpunit: ^12.0
This package is not auto-updated.
Last update: 2026-03-20 15:31:50 UTC
README
This tile displays date & time for a specified timezone.
This tile can be used on the Laravel Dashboard.
Compatibility
- PHP
^8.3 spatie/laravel-dashboard^4.0
Credits
Forked from the original DateTimeTile package.
Installation
You can install the package via composer:
composer require roelgonzalez/laravel-dashboard-date-time-tile
Usage
In your dashboard view you use the livewire:date-time-tile component.
<x-dashboard> <livewire:date-time-tile position="a1" timezone="Europe/Brussels" /> </x-dashboard>
By default, the title of the tile will display the timezone string, i.e. Europe/Brussels. This can be overridden using the optional title parameter, e.g.
<livewire:date-time-tile position="a1" timezone="Europe/London" title="Greenwich Mean Time" />
Customizing the view
If you want to customize the view used to render this tile, run this command:
php artisan vendor:publish --provider="RoelGonzalez\DateTimeTile\DateTimeTileServiceProvider" --tag="dashboard-date-time-tile-views"
Changelog
Please see CHANGELOG for more information on what has changed recently.
License
The MIT License (MIT). Please see License File for more information.
