{"repo":"SachinAgarwal1337/google-places-api","free":true,"listed":false,"github":"https://github.com/SachinAgarwal1337/google-places-api","clone":"git clone https://github.com/SachinAgarwal1337/google-places-api.git","description":"This is a PHP wrapper for Google Places API Web Service. And is Laravel Framework friendly.","language":"PHP","stars":190,"topics":["google","places","google-places","google-places-api","google-api","laravel-google-places","laravel-google-places-api","laravel"],"license":"MIT","category":"api-integrations-sdks","readme_excerpt":"Google Places API for PHP A PHP wrapper for Google Places API Web Service , compatible with Laravel. Version Compatibility Package Version PHP Laravel Google Places API :---------------: :------: :----------------: :---------------------------------------------------------------------------------------------------------------------------------------------------------------------------- ^3.0 ^8.1 ^10 \\ ^11 Places API and Places API (New) ^2.2 ^8.0.2 ^9 \\ ^10 \\ ^11 Places API [!CAUTION] Version 3 is a complete rewrite using Saloon with breaking changes. v2.2 API is deprecated and will be removed in next major version. Which means it is backward compatible. And it is recommended to shift to v3 API before next major release. You can refer to v2.2 documentation here. Installation Install it with composer General Usage Laravel user can see the Laravel Usage section You can also set the API KEY after initiating the class using GooglePlaces::make()- setKey('KEY') method. --- Laravel Step 1 publish the config file with following artisan command This will create google.php file in the config directory. Set the API KEY in this config file. Step 2 Start making requests --- Response The response returned is a Saloon's Response thus you can use all the methods provided by Saloon. You can refer to Saloon's documentation for more methods. [!IMPORTANT] By default, no exception is thrown for API errors. You can check the request status with $response- status() . You can also use GooglePlaces::","default_branch":null,"files":null,"tree":[],"storefront":"/r/SachinAgarwal1337","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/SachinAgarwal1337/google-places-api/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}