Download the PHP package kehet/laravel-dashboard-hsl-tile without Composer
On this page you can find all versions of the php package kehet/laravel-dashboard-hsl-tile. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download kehet/laravel-dashboard-hsl-tile
More information about kehet/laravel-dashboard-hsl-tile
Files in kehet/laravel-dashboard-hsl-tile
Package laravel-dashboard-hsl-tile
Short Description HSL tile for Spatie Laravel Dashboard
License MIT
Homepage https://github.com/kehet/laravel-dashboard-hsl-tile
Informations about the package laravel-dashboard-hsl-tile
HSL public transport (Finland) tile for Laravel Dashboard
This tile show HSL (Helsinki Regional Transport Authority) data for given stops
This tile can be used on the Laravel Dashboard.
Installation
You can install the package via composer:
In app\Console\Kernel.php you should schedule the Kehet\HSLTile\FetchDataFromApiCommand to run. You can let in run every minute if you want. You could also run is less frequently if you fast updates on the dashboard aren't that important for this tile.
In the dashboard config file, you must add this configuration in the tiles key. The value belgian_trains should be an array of which each value is array with keys departure, destination and label.
To publish required CSS file, you must publish assets
Usage
In your dashboard view you use the livewire:hsl-tile
component.
Testing
Changelog
1.0.0 - 2021-11-16
- initial release
Credits
- All Contributors
License
The MIT License (MIT). Please see License File for more information.