https://github.com/codeadamca/php-google-geocoding-api
A basic example of using PHP with the Google Maps API.
https://github.com/codeadamca/php-google-geocoding-api
api geocoding google-maps php
Last synced: about 2 months ago
JSON representation
A basic example of using PHP with the Google Maps API.
- Host: GitHub
- URL: https://github.com/codeadamca/php-google-geocoding-api
- Owner: codeadamca
- Created: 2022-03-23T15:12:52.000Z (over 3 years ago)
- Default Branch: main
- Last Pushed: 2025-01-26T22:20:25.000Z (5 months ago)
- Last Synced: 2025-03-31T07:18:36.651Z (3 months ago)
- Topics: api, geocoding, google-maps, php
- Language: PHP
- Homepage:
- Size: 11.7 KB
- Stars: 2
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Using PHP with the Google Geocoding API
A basic example of geocoding and address and then using that data to display a map using the Google Maps Static API.
The API endpoints in this example require an API key. You can retrieve an API key by following these steps:
1. Go to the [Google Cloud Console](https://console.cloud.google.com/)
2. Create an API key
3. Put your API key into the first line of PHP in the `geocoding.php` file
4. Upload your files to a PHP server and test***
## Repo Resources
* [Visual Studio Code](https://code.visualstudio.com/)
* [Google Maps API](https://developers.google.com/maps)
* [Google Maps Static API](https://developers.google.com/maps/documentation/maps-static/overview)