PHP code example of kehet / laravel-dashboard-hsl-tile

1. Go to this page and download the library: Download kehet/laravel-dashboard-hsl-tile library. Choose the download type require.

2. Extract the ZIP file and open the index.php.

3. Add this code to the index.php.
    
        
<?php
require_once('vendor/autoload.php');

/* Start to develop here. Best regards https://php-download.com/ */

    

kehet / laravel-dashboard-hsl-tile example snippets


// in config/dashboard.php

return [
    'tiles' => [
        'hsl' => [
            'stops' => [
                [
                    'id' => 'HSL:1020602',
                    'title' => null,
                ],
            ],
            'refresh_interval_in_seconds' => 60,
        ],
    ],
];

php artisan vendor:publish --provider="Kehet\HSLTile\HSLTileServiceProvider"