PHP code example of koossaayy / laravel-mapbox
1. Go to this page and download the library: Download koossaayy/laravel-mapbox 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/ */
koossaayy / laravel-mapbox example snippets
return [
'mapbox_token' => (env('MAPBOX_TOKEN', null))
];
//Somewhere in your code
$htmlString = '<p>Hello world</p>';
$icon = '<img src="https://placekitten.com/g/50/50" style="border-radius: 50%" />';
bash
php artisan vendor:publish --tag="mapbox-config"