PHPackages                             jeroendesloovere/geolocation-bundle - 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. jeroendesloovere/geolocation-bundle

ActiveLibrary[API Development](/categories/api)

jeroendesloovere/geolocation-bundle
===================================

This Geolocation Symony2 Bundle uses the geolocation-php-api class which finds latitude/longitude from an address or reverse using Google Maps API.

1.0.0(10y ago)518.2k1MITPHPPHP &gt;=5.3.3

Since Jun 9Pushed 10y ago1 watchersCompare

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

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

Geolocation bundle
==================

[](#geolocation-bundle)

This Geolocation Symony2 Bundle uses the geolocation-php-api class using Google Maps API which finds latitude/longitude from an address or reverse.

Usage
-----

[](#usage)

### Installation

[](#installation)

```
{
    "require": {
        "jeroendesloovere/geolocation-bundle": "1.0.*"
    }
}
```

> Adding this code in your `composer.json` file will get the \[latest :package\_name Packagist package\]( using [Composer](https://getcomposer.org).

and in app/AppKernel.php

```
public function registerBundles()
{
    $bundles = array(
        // ...,
        new JeroenDesloovere\Bundle\GeolocationBundle\JeroenDesloovereGeolocationBundle()
    );
}
```

### Example

[](#example)

```
$geolocation = $this->get('jeroendesloovere.geolocation');

// define result
$result = $geolocation::getCoordinates('Koningin Maria Hendrikaplein', '1', 'Gent', '9000', 'belgië');

// dump result
echo 'Coordinates = ' . $result['latitude'] . ', ' . $result['longitude'] . '';

// define result: @return array(label, street, streetNumber, city, cityLocal, zip, country, countryLabel)
$result = $geolocation::getAddress(51.0363935, 3.7121008);

// define result
echo 'Address = ' . $result['label'] . '';
```

###  Health Score

32

—

LowBetter than 72% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity25

Limited adoption so far

Community8

Small or concentrated contributor base

Maturity60

Established project with proven stability

 Bus Factor1

Top contributor holds 100% 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 ~0 days

Total

3

Last Release

3996d ago

Major Versions

0.0.2 → 1.0.02015-06-09

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/588616?v=4)[Jeroen Desloovere](/maintainers/jeroendesloovere)[@jeroendesloovere](https://github.com/jeroendesloovere)

---

Top Contributors

[![jeroendesloovere](https://avatars.githubusercontent.com/u/588616?v=4)](https://github.com/jeroendesloovere "jeroendesloovere (7 commits)")

---

Tags

geolocation-bundlegeolocation-php-apilatitudelongitudephpphpapibundleaddressgeolocationSymfony2latitudelongitude

### Embed Badge

![Health badge](/badges/jeroendesloovere-geolocation-bundle/health.svg)

```
[![Health](https://phpackages.com/badges/jeroendesloovere-geolocation-bundle/health.svg)](https://phpackages.com/packages/jeroendesloovere-geolocation-bundle)
```

###  Alternatives

[jcf/geocode

Google Geocoding API for Laravel

48160.5k](/packages/jcf-geocode)[harmbandstra/swagger-ui-bundle

Exposes swagger UI inside your Symfony project through a route (eg. /docs)

42867.3k](/packages/harmbandstra-swagger-ui-bundle)[jackmartin/laravel-yandex-geocode

Simply service laravel Yandex Geocoding

1016.6k](/packages/jackmartin-laravel-yandex-geocode)[1001pharmacies/geolocation-bundle

Provides an abstraction layer for geocoding services.

116.8k](/packages/1001pharmacies-geolocation-bundle)

PHPackages © 2026

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