skagarwal/google-places-api
PHP wrapper for Google Places API Web Service with Laravel support. Includes Places API and Places API (New) endpoints like autocomplete/search, built on Saloon in v3. Composer install, fluent client setup, configurable SSL and error handling.
Full Changelog: https://github.com/SachinAgarwal1337/google-places-api/compare/3.1.2...3.2.0
Full Changelog: https://github.com/SachinAgarwal1337/google-places-api/compare/3.0.1...3.1.0
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.
Full Changelog: https://github.com/SachinAgarwal1337/google-places-api/compare/2.2.0...3.0.0
Added support for Laravel 11
Removed support Laravel 6,7,8
Full Changelog: https://github.com/SachinAgarwal1337/google-places-api/compare/2.1.0...2.2.0
Added support for Laravel 10 See https://github.com/SachinAgarwal1337/google-places-api/pull/74
Bumped the Guzzle min version for secutiry patch. read more at https://github.com/guzzle/guzzle/blob/7.4.4/CHANGELOG.md
Support for Laravel 7
Support for Laravel 6
Call This method before any other methods to set the headers. You can chain this method.
To have custom headers set for every call, you can pass 3rd parameter as the headers to class constructor.
Note: For Laravel Users, you can set this in config file with key headers
See Commit: https://github.com/SachinAgarwal1337/google-places-api/commit/a50983a1ad3a005eb52c49f6c6a60991ce3acaa5
API will not throw an error when there is a ZERO_RESULT response from google api.
Fixed few typos in readme.md
This is the first release of the package.
Please go through the docs for installation and usage guide.
How can I help you explore Laravel packages today?