PHPackages                             rezzza/google-geocoder - 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. rezzza/google-geocoder

AbandonedLibrary[API Development](/categories/api)

rezzza/google-geocoder
======================

Easy wrap Google geocoder web service

v2.1(10y ago)21.2k4[1 issues](https://github.com/rezzza/google-geocoder/issues)MITPHPPHP &gt;=5.6.0

Since Oct 1Pushed 10y ago3 watchersCompare

[ Source](https://github.com/rezzza/google-geocoder)[ Packagist](https://packagist.org/packages/rezzza/google-geocoder)[ Docs](https://github.com/rezzza/google-geocoder)[ RSS](/packages/rezzza-google-geocoder/feed)WikiDiscussions master Synced 1mo ago

READMEChangelog (4)Dependencies (4)Versions (5)Used By (0)

google-geocoder
===============

[](#google-geocoder)

[![Build Status](https://camo.githubusercontent.com/0e1cd7a2c868ae337200f1a6fc6ec18d7b38a57108909a31755cc5b868d2b852/68747470733a2f2f7472617669732d63692e6f72672f72657a7a7a612f676f6f676c652d67656f636f6465722e7376673f6272616e63683d6d6173746572)](https://travis-ci.org/rezzza/google-geocoder)Simple lib to wrap Google geocoder Web Service

Installation
============

[](#installation)

```
$ composer require rezzza/google-geocoder

```

Usage
=====

[](#usage)

You should build on your own the repository :

```
$googleAddressRepository = new Rezzza\GoogleGeocoder\GoogleAddressRepository(
    new Rezzza\GoogleGeocoder\GoogleGeocodeClient(
        new Ivory\HttpAdapter\CurlHttpAdapter(),
        'YOUR_GOOGLE_API_KEY'
    ),
    new Rezzza\GoogleGeocoder\Model\AddressFactory
);
```

Then you can use all methods available in the repository :

- `findByPlaceIdWithLanguage($placeId, $language)`
- `findByCoordinatesWithLanguage($latitude, $longitude, $language)`
- `findByAddressWithLanguage($address, $language)`
- `findByLocalityAndCountryCodeWithLanguage($locality, $countryCode, $language)`
- `findByLocalityAndCountryCodeAndAministrativeAreaWithLanguage($locality, $countryCode, $administrativeArea, $language)`

All these methods will return a `Rezzza\GoogleGeocoder\Model\AddressCollection` except the first one that will return directly a `Rezzza\GoogleGeocoder\Model\Address` (as a placeId is uniq).

###  Health Score

28

—

LowBetter than 54% of packages

Maintenance10

Infrequent updates — may be unmaintained

Popularity19

Limited adoption so far

Community13

Small or concentrated contributor base

Maturity61

Established project with proven stability

 Bus Factor1

Top contributor holds 83.3% of commits — single point of failure

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 ~31 days

Total

4

Last Release

3787d ago

Major Versions

v1.0.1 → v2.02015-11-10

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/245494?v=4)[Timothée Barray](/maintainers/tyx)[@tyx](https://github.com/tyx)

---

Top Contributors

[![tyx](https://avatars.githubusercontent.com/u/245494?v=4)](https://github.com/tyx "tyx (30 commits)")[![shouze](https://avatars.githubusercontent.com/u/54712?v=4)](https://github.com/shouze "shouze (6 commits)")

---

Tags

geocodergoogle

### Embed Badge

![Health badge](/badges/rezzza-google-geocoder/health.svg)

```
[![Health](https://phpackages.com/badges/rezzza-google-geocoder/health.svg)](https://phpackages.com/packages/rezzza-google-geocoder)
```

###  Alternatives

[google/apiclient

Client library for Google APIs

9.8k191.4M997](/packages/google-apiclient)[google/apiclient-services

Client library for Google APIs

1.3k180.5M51](/packages/google-apiclient-services)[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)[willdurand/geocoder-bundle

Integration of Geocoder into Symfony

3226.4M12](/packages/willdurand-geocoder-bundle)[revolution/laravel-google-sheets

Google Sheets API v4

4483.1M6](/packages/revolution-laravel-google-sheets)

PHPackages © 2026

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