PHP code example of rentalmanager / geolocate
1. Go to this page and download the library: Download rentalmanager/geolocate 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/ */
rentalmanager / geolocate example snippets
// You have the address in a string
$address = '2136 Market St, Philadelphia, PA 19103';
// So you just want to get the geolocation data from it
$response = Geolocate::find($address);
bash
$ php artisan
bash
$ php artisan vendor:publish --tag="geolocate"