PHP code example of daniel-griffiths / php-google-places
1. Go to this page and download the library: Download daniel-griffiths/php-google-places 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/ */
daniel-griffiths / php-google-places example snippets
$places = (new DanielGriffiths\GooglePlaces('example-api-key'))
->setLongitude(-33.8670522)
->setLatitude(151.1957362)
->getType('shop');