PHP code example of maptechnica / mtapi

1. Go to this page and download the library: Download maptechnica/mtapi 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/ */

    

maptechnica / mtapi example snippets


MapTechnica\MTAPI\MTAPIServiceProvider::class,

'MTAPI' => MapTechnica\MTAPI\MTAPIDataRetriever::class,

'apiKey'         => env('MAPTECHNICA_API_KEY', NULL),

'apiKey'         => env('MAPTECHNICA_API_KEY', '[YOUR_API_KEY]'),

MAPTECHNICA_API_KEY=[YOUR_API_KEY]
shell
php artisan vendor:publish