A quote of the day tile for the Laravel Dashboard
roelgonzalez/laravel-dashboard-quote-of-the-day-tile is a Laravel package for a quote of the day tile for the laravel dashboard.
It currently has 0 GitHub stars and 158 downloads on Packagist (latest version 2.0.0).
Install it with composer require roelgonzalez/laravel-dashboard-quote-of-the-day-tile.
Discover more Laravel packages by roelgonzalez
or browse all Laravel packages to compare alternatives.
Last updated
This tile displays a quote of the day on your dashboard.
This tile can be used on the Laravel Dashboard.

You can install the package via composer:
composer require roelgonzalez/laravel-dashboard-quote-of-the-day-tile
// in config/dashboard.php
return [
// ...
'tiles' => [
'quote_of_the_day' => [
'max_character_length' => 70, // null for no limit
'refresh_interval_in_seconds' => 3600,
],
],
];
In app\Console\Kernel.php you should schedule the RoelGonzalez\QuoteOfTheDayTile\FetchQuoteOfTheDayDataCommand to run every day (or however often you'd like the quote to change).
// in app/console/Kernel.php
protected function schedule(Schedule $schedule)
{
// ...
$schedule->command(\RoelGonzalez\QuoteOfTheDayTile\FetchQuoteOfTheDayDataCommand::class)->dailyAt('05:00');
}
In your dashboard view you use the livewire:quote-of-the-day-tile component.
<x-dashboard>
<livewire:quote-of-the-day-tile position="a1" />
</x-dashboard>
Please see CHANGELOG for more information on what has changed recently.
Please see CONTRIBUTING for details.
The MIT License (MIT). Please see License File for more information.