PHP code example of pendonl / laravel-pro6pp

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

    

pendonl / laravel-pro6pp example snippets


$getAddress = Pro6pp::autocomplete(6225, '7', c);
$suggestions = Pro6pp::suggest('Maast', 10);
$distanceBetweenCoordinates = Pro6pp::coordinateDistance(50.858030, 5.717376, 50.840078, 5.659258);

// config/app.php
'providers' => [
    ...
    PendoNL\LaravelPro6pp\LaravelPro6ppServiceProvider::class,
];

// config/app.php
'aliases' => [
    ...
    'Pro6pp' => PendoNL\LaravelPro6pp\Facade::class,
];