PHP code example of katalam / laravel-tilemaker-server

1. Go to this page and download the library: Download katalam/laravel-tilemaker-server 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/ */

    

katalam / laravel-tilemaker-server example snippets


return [
    'database' => [
        'connection' => env('TILEMAKER_DB_CONNECTION', 'tiles'),
    ],

    'routes' => [
        'prefix' => env('TILEMAKER_ROUTE_PREFIX', ''),
        'as' => env('TILEMAKER_ROUTE_PREFIX', '').'.',
    ],
];
bash
php artisan vendor:publish --tag="laravel-tilemaker-server-config"
bash
php artisan tilemaker-server:install
bash
php artisan storage:link