spatie/laravel-dashboard-time-weather-tile
Time & Weather Tile for Spatie Laravel Dashboard. Shows the current time and local weather on your dashboard, with simple setup and configuration. Ideal for wall-mounted displays and status screens.
config/app.timezone without manual overrides. This reduces technical debt and edge cases.spatie/laravel-dashboard (v3.x+), which may necessitate upgrading or adopting the dashboard framework if not already in use. This is a blocker for non-Spatie dashboard users.| Risk | Severity | Mitigation Strategy |
|---|---|---|
| Weather API Dependency | High | Implement caching (Redis), fallback UI, and monitoring for API failures. |
| Dashboard Version Lock | Medium | Pin spatie/laravel-dashboard version and test upgrades early. |
| Timezone Edge Cases | Low | Verify DST transitions and user-specific timezones (if extending beyond defaults). |
| Customization Limits | Medium | Document Blade override paths for UI/UX adjustments. |
| Performance Impact | Low | Use lazy-loading or background API calls to avoid rendering delays. |
env?spatie/laravel-dashboard is installed (v3.x+). If not, upgrade or adopt the dashboard framework.composer require spatie/laravel-dashboard-time-weather-tile
php artisan vendor:publish --provider="Spatie\DashboardTimeWeatherTile\DashboardTimeWeatherTileServiceProvider"
.env (e.g., WEATHER_API_KEY=your_key).config/app.timezone).Dashboard::tile()).use Spatie\DashboardTimeWeatherTile\DashboardTimeWeatherTile;
Dashboard::tile(DashboardTimeWeatherTile::class);
composer test) to verify core functionality.| Component | Compatibility Notes |
|---|---|
| Laravel | 8.x+ (PHP 8+ support confirmed in v2.0.1). |
| Spatie Dashboard | v3.x+ (v4.x+ support confirmed in v4.0.0). |
| Weather APIs | OpenWeatherMap (default); swappable via config. |
| Caching | Redis recommended; Laravel cache drivers also supported. |
| Time Zones | Auto-detects config/app.timezone (v4.1.0+); no manual overrides needed. |
| Frontend Frameworks | Blade-only; no React/Vue conflicts. |
.env updates (automate via CI/CD).How can I help you explore Laravel packages today?