PHP code example of bakerkretzmar / laravel-mapbox
1. Go to this page and download the library: Download bakerkretzmar/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/ */
bakerkretzmar / laravel-mapbox example snippets
$datasets = Mapbox::datasets()->list();
$dataset = Mapbox::datasets($dataset_id)->get();
$dataset = Mapbox::datasets()->create();
// or
$dataset = Mapbox::datasets()->create([
'name' => 'My Dataset',
'description' => 'A new Mapbox Dataset',
]);