roelgonzalez / laravel-dashboard-quote-of-the-day-tile
A quote of the day tile for the Laravel Dashboard
Installs: 155
Dependents: 0
Suggesters: 0
Security: 0
Stars: 0
Watchers: 1
Forks: 0
Open Issues: 0
pkg:composer/roelgonzalez/laravel-dashboard-quote-of-the-day-tile
Requires
- php: ^8.0|^7.4
- spatie/laravel-dashboard: ^2.0
Requires (Dev)
- phpunit/phpunit: ^9.3
This package is not auto-updated.
Last update: 2025-12-09 02:23:36 UTC
README
This tile displays a quote of the day on your dashboard.
This tile can be used on the Laravel Dashboard.
Installation
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'); }
Usage
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>
Changelog
Please see CHANGELOG for more information on what has changed recently.
Contributing
Please see CONTRIBUTING for details.
Credits
License
The MIT License (MIT). Please see License File for more information.
