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.8k↓50%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 1mo ago

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

31

—

LowBetter than 68% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity25

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

3952d 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

[stripe/stripe-php

Stripe PHP Library

4.0k143.3M480](/packages/stripe-stripe-php)[twilio/sdk

A PHP wrapper for Twilio's API

1.6k92.9M272](/packages/twilio-sdk)[facebook/php-business-sdk

PHP SDK for Facebook Business

90821.9M34](/packages/facebook-php-business-sdk)[meilisearch/meilisearch-php

PHP wrapper for the Meilisearch API

74513.7M114](/packages/meilisearch-meilisearch-php)[google/gax

Google API Core for PHP

265103.1M454](/packages/google-gax)[google/common-protos

Google API Common Protos for PHP

173103.7M50](/packages/google-common-protos)

PHPackages © 2026

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