PHP code example of kolirt / laravel-openstreetmap

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

    

kolirt / laravel-openstreetmap example snippets


$ php artisan openstreetmap:install

Kolirt\Openstreetmap\Facade\Openstreetmap::searchByParams($streetname = null, 
                                                          $housenumber = null, 
                                                          $city = null, 
                                                          $state = null, 
                                                          $country = null, 
                                                          $postalcode = null, 
                                                          int $limit = 10);