Get geolocalised results from google, just for understand how to do that !
composer install
for the autoloader.
You must have curl-php pre-installed for run the exemple in index.php
Make a simple PHP -S localhost:your_port in public/ directory or run on a locale apache server with php. Do not run from a distant server this class has only goal to test and understand. Do not use with a bot, you will be blacklisted. Do not make a relevant number of request in a short time you will be banned from a short period by the Google servers.