Skip to content

Conversation

@andreia
Copy link
Member

@andreia andreia commented Jan 5, 2025

Add the ->placesApiNew() method to use the Places API (new) instead of original:

GoogleAutocomplete::make('google_search')
    ->placesApiNew()

@andreia andreia requested a review from swilla January 5, 2025 00:31
Copy link
Member

@swilla swilla left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good, just one change

return [

'api-key' => env('GOOGLE_PLACES_API_KEY', ''),
'verify-ssl' => false,
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think we should default this to true.

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks, just updated :)

@andreia andreia requested a review from swilla January 5, 2025 01:02
@andreia andreia merged commit 97cad7b into main Jan 5, 2025
7 checks passed
@swilla swilla deleted the add_new_place_api branch February 10, 2025 20:22
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants