Download the PHP package marcusmyers/laravel-dashboard-accuweather-tile without Composer
On this page you can find all versions of the php package marcusmyers/laravel-dashboard-accuweather-tile. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download marcusmyers/laravel-dashboard-accuweather-tile
More information about marcusmyers/laravel-dashboard-accuweather-tile
Files in marcusmyers/laravel-dashboard-accuweather-tile
Package laravel-dashboard-accuweather-tile
Short Description An AccuWeather Tile for Laravel Dashboard
License MIT
Homepage https://github.com/marcusmyers/laravel-dashboard-accuweather-tile
Informations about the package laravel-dashboard-accuweather-tile
A tile to display weather using AccuWeather API
Much like Spatie's laravel-dashboard-time-weather-tile, but uses AccuWeather.
This tile can be used on the Laravel Dashboard.
Installation
You can install the package via composer:
Usage
In the dashboard
config file, you must add this configuration in the tiles
key.
Sign up at https://developer.accuweather.com/ to obtain ACCUWEAHTER_API_KEY
and you can find your location key by searching for you city at https://www.accuweather.com. The resulting url should have your location key, i.e. https://www.accuweather.com/en/us/chicago/60608/weather-forecast/348308, the Chicago location key is 348308. AccuWeather only allows you 50 API request a day for a free account.
The data can be displayed as either Imperial (Farenheit) or Metric (Celsis). This will affect information displayed on the daily tile and forecast tiles.
It is also possible to change the date format of the tiles. Valid formats are m/d or d/m.
In app\Console\Kernel.php
you should schedule the MarcusMyers\AccuWeatherTile\Commands\FetchAccuWeatherCurrentConditionsCommand
to run every hour.
If you want to use the forecast you can optionally schedule the MarcusMyers\AccuWeatherTile\Commands\FetchAccuWeatherFiveDayForecastCommand
to run daily.
In your dashboard view you can use the livewire:accuweather-current-conditions-tile
component or the livewire:accuweather-five-day-forecast-tile
.
Changelog
Please see CHANGELOG for more information on what has changed recently.
Contributing
Please see CONTRIBUTING for details.
Security
If you discover any security related issues, please email :author_email instead of using the issue tracker.
Credits
- All Contributors
License
The MIT License (MIT). Please see License File for more information.