PHPackages                             marcoboom/google-maps-geocode-api - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [API Development](/categories/api)
4. /
5. marcoboom/google-maps-geocode-api

ActiveLibrary[API Development](/categories/api)

marcoboom/google-maps-geocode-api
=================================

Simple PHP wrapper for the Google Maps Geocode API

2.0.1(10y ago)110.9k↓90%MITPHPPHP &gt;=5.5.0

Since Mar 7Pushed 10y ago1 watchersCompare

[ Source](https://github.com/marcoboom/Google-Maps-Geocode-Api)[ Packagist](https://packagist.org/packages/marcoboom/google-maps-geocode-api)[ RSS](/packages/marcoboom-google-maps-geocode-api/feed)WikiDiscussions master Synced today

READMEChangelog (3)DependenciesVersions (3)Used By (0)

Google Maps Geocode API
-----------------------

[](#google-maps-geocode-api)

Simple PHP wrapper for the Google Maps Geocode API

Installation and Requirements
-----------------------------

[](#installation-and-requirements)

First, you'll need to require the package with Composer:

```
$ composer require marcoboom/google-maps-geocode-api
```

This package requires PHP 5.4 and [Guzzle](https://github.com/guzzle/guzzle)

Usage
-----

[](#usage)

```

	$geo = new GoogleMapsGeocodeApi\Geocode("Kalverstraat 100 Amsterdam");

	echo "Street: ".$geo->street().PHP_EOL;
	echo "Housenumber: ".$geo->housenumber().PHP_EOL;
	echo "Postcode: ".$geo->postcode().PHP_EOL;
	echo "City: ".$geo->city().PHP_EOL;
	echo "Town: ".$geo->town().PHP_EOL;
	echo "Province: ".$geo->state().PHP_EOL;
	echo "Country: ".$geo->country().PHP_EOL;
	echo "Country code: ".$geo->country_code().PHP_EOL;
	echo "Latitude: ".$geo->lat().PHP_EOL;
	echo "Longitude: ".$geo->lon().PHP_EOL;
	echo "Formatted address: ".$geo->formatted().PHP_EOL;
```

###  Health Score

30

—

LowBetter than 62% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity23

Limited adoption so far

Community4

Small or concentrated contributor base

Maturity59

Maturing project, gaining track record

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

###  Release Activity

Cadence

Every ~139 days

Total

2

Last Release

3998d ago

Major Versions

1.0.0 → 2.0.12015-07-24

PHP version history (2 changes)1.0.0PHP &gt;=5.4.0

2.0.1PHP &gt;=5.5.0

### Community

Maintainers

![](https://www.gravatar.com/avatar/d5dbc6a29877ed65ea33c85a4e6c63c4b16d9150bd757880f1af18813eaa33d8?d=identicon)[marcoboom](/maintainers/marcoboom)

### Embed Badge

![Health badge](/badges/marcoboom-google-maps-geocode-api/health.svg)

```
[![Health](https://phpackages.com/badges/marcoboom-google-maps-geocode-api/health.svg)](https://phpackages.com/packages/marcoboom-google-maps-geocode-api)
```

###  Alternatives

[exsyst/swagger

A php library to manipulate Swagger specifications

35916.4M7](/packages/exsyst-swagger)[hubspot/api-client

Hubspot API client

24016.2M20](/packages/hubspot-api-client)[pocketmine/bedrock-protocol

An implementation of the Minecraft: Bedrock Edition protocol in PHP

172445.0k15](/packages/pocketmine-bedrock-protocol)[botman/driver-telegram

Telegram driver for BotMan

93459.5k6](/packages/botman-driver-telegram)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
