An open API service indexing awesome lists of open source software.

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.

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)