Weave Code
Weaver
Helps Laravel developers discover, compare, and choose open-source packages. See popularity, security, maintainers, and scores at a glance to make better decisions.
Feedback
Share your thoughts, report bugs, or suggest improvements.
Subject
Message

Google Places Api Laravel Package

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.

View on GitHub
Deep Wiki
Context7
3.0.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.

What's Changed

Full Changelog: https://github.com/SachinAgarwal1337/google-places-api/compare/2.2.0...3.0.0

2.2.0

Added support for Laravel 11

Removed support Laravel 6,7,8

What's Changed

Full Changelog: https://github.com/SachinAgarwal1337/google-places-api/compare/2.1.0...2.2.0

2.0.1

Bumped the Guzzle min version for secutiry patch. read more at https://github.com/guzzle/guzzle/blob/7.4.4/CHANGELOG.md

2.0.0

Added support for Laravel 9

Breaking Changes

  • Removed support for php 5.5
  • End of support Laravel 5 (Min laravel version support is 6)
1.7.2
1.7.1
1.7.0
1.6.0

Support for Laravel 7

1.5.0

Support for Laravel 6

1.4.0

Custom Headers

withHeaders(array $headers)

Call This method before any other methods to set the headers. You can chain this method.

new PlacesApi($key = null, $verifySSL = true, array $headers = [])

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

1.3.0
  • Added findPlace API
  • Removed radarSearch as it was deprecated and now removed from google apis
  • Removed addPlace as it was deprecated and now removed from google apis
  • Removed deletePlace as it was deprecated and now removed from google apis
1.2.0
1.1.3
1.1.1

API will not throw an error when there is a ZERO_RESULT response from google api.

1.1.0
1.0.3
1.0.2

Fixed few typos in readme.md

1.0.1
1.0.0

This is the first release of the package.

Please go through the docs for installation and usage guide.

Weaver

How can I help you explore Laravel packages today?

Conversation history is not saved when not logged in.
Prompt
Add packages to context
No packages found.
mehedimi/laravel-amp-mail
happones/laravel-vue-i18n-generator
jwerd/inertia-table
siberfx/flysystem-wasabi
hollyit/token-replace
ippanelcom/laravel-sdk
adachsoft/changelog-linter
adachsoft/collection
payerurl/telegrambot-crypto-payment-instant-payout
dskripchenko/laravel-hybrid-search
riorizkyrainey/lara-ced
mehedimi/static-vel
zharp/zharp
nonsapiens/bigquery-model-sync
lgu-bayambang-ict-office/lgu-laravel-development-standards
andydefer/laravel-support
se7enxweb/flysystem
lampwick/laravel
jeslage/statamic-emojis
micahdshackelford/rmap-laravel