PHPackages                             org\_heigl/geolocation - 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. [Utility &amp; Helpers](/categories/utility)
4. /
5. org\_heigl/geolocation

ActiveLibrary[Utility &amp; Helpers](/categories/utility)

org\_heigl/geolocation
======================

Provides a form-element for locating a spot on the earth and providing Latitude/Longitude-values

2.0.1(7y ago)4162[2 issues](https://github.com/heiglandreas/OrgHeiglGeolocation/issues)MITHTMLPHP ^7.0

Since Sep 18Pushed 7y ago1 watchersCompare

[ Source](https://github.com/heiglandreas/OrgHeiglGeolocation)[ Packagist](https://packagist.org/packages/org_heigl/geolocation)[ Docs](http://github.com/heiglandreas/OrgHeiglGeolocation)[ RSS](/packages/org-heigl-geolocation/feed)WikiDiscussions master Synced 2mo ago

READMEChangelog (6)Dependencies (11)Versions (21)Used By (0)

[![Build Status](https://camo.githubusercontent.com/d3004e87cf8ec7b3888c87b61fbad30313130330243b3b89bc3bbbb47874440d/68747470733a2f2f7472617669732d63692e6f72672f686569676c616e64726561732f4f7267486569676c47656f6c6f636174696f6e2e737667)](https://travis-ci.org/heiglandreas/OrgHeiglGeolocation)[![Coverage Status](https://camo.githubusercontent.com/98e4bbafa813f524758ff289fcc01aa5ca92f7992385d7b2f8e7134079e6e684/68747470733a2f2f636f766572616c6c732e696f2f7265706f732f6769746875622f686569676c616e64726561732f4f7267486569676c47656f6c6f636174696f6e2f62616467652e7376673f6272616e63683d6d6173746572)](https://coveralls.io/github/heiglandreas/OrgHeiglGeolocation?branch=master)[![Dependency Status](https://camo.githubusercontent.com/ccdf9c778db67a7d371fd784ddf22fa337e68e84d65ff96971dd6b52dd073e18/68747470733a2f2f7777772e76657273696f6e6579652e636f6d2f757365722f70726f6a656374732f3538616665393861363230306161303035303835663334642f62616467652e7376673f7374796c653d666c61742d737175617265)](https://www.versioneye.com/user/projects/58afe98a6200aa005085f34d)[![Scrutinizer Code Quality](https://camo.githubusercontent.com/5235499974ed3f211be468cef03f1f0357f2cbc80ed43f750b0e9e2dfff61e96/68747470733a2f2f7363727574696e697a65722d63692e636f6d2f672f686569676c616e64726561732f4f7267486569676c47656f6c6f636174696f6e2f6261646765732f7175616c6974792d73636f72652e706e673f623d6d6173746572)](https://scrutinizer-ci.com/g/heiglandreas/OrgHeiglGeolocation/?branch=master)[![Code Climate](https://camo.githubusercontent.com/013195953d8dd6852b71d8c134f5edffc480ff164302746b61f89538d3010052/68747470733a2f2f6c696d612e636f6465636c696d6174652e636f6d2f6769746875622f686569676c616e64726561732f4f7267486569676c47656f6c6f636174696f6e2f6261646765732f6770612e737667)](https://lima.codeclimate.com/github/heiglandreas/OrgHeiglGeolocation)[![Codacy Badge](https://camo.githubusercontent.com/ef978f0c111dd0d5ddef36c1d9a60eaec71712a8d53c3441743b00641d83d679/68747470733a2f2f6170692e636f646163792e636f6d2f70726f6a6563742f62616467652f47726164652f6537306639353136633764383438663662343735653861303334313934383562)](https://www.codacy.com/app/github_70/OrgHeiglGeolocation?utm_source=github.com&utm_medium=referral&utm_content=heiglandreas/OrgHeiglGeolocation&utm_campaign=Badge_Grade)

[![Latest Stable Version](https://camo.githubusercontent.com/d4c3901ae1852fba97903d2f8be91e7ce8a7463185799918acc5139b1b2dcd0a/68747470733a2f2f706f7365722e707567782e6f72672f6f72675f686569676c2f67656f6c6f636174696f6e2f762f737461626c65)](https://packagist.org/packages/org_heigl/geolocation)[![Total Downloads](https://camo.githubusercontent.com/373c3fd930df902bbe255e32baf99f076a1925d2694e8584fe385a65137baac3/68747470733a2f2f706f7365722e707567782e6f72672f6f72675f686569676c2f67656f6c6f636174696f6e2f646f776e6c6f616473)](https://packagist.org/packages/org_heigl/geolocation)[![License](https://camo.githubusercontent.com/4686270a053b734a259c6ec0d68b16eef0bfddc273880b8fc2544fe315e21bc9/68747470733a2f2f706f7365722e707567782e6f72672f6f72675f686569676c2f67656f6c6f636174696f6e2f6c6963656e7365)](https://packagist.org/packages/org_heigl/geolocation)[![composer.lock](https://camo.githubusercontent.com/16cf6ef5e2ce33def0f4c91e859f2b516e998c054d008fe5e9477a0c65ce4e83/68747470733a2f2f706f7365722e707567782e6f72672f6f72675f686569676c2f67656f6c6f636174696f6e2f636f6d706f7365726c6f636b)](https://packagist.org/packages/org_heigl/geolocation)

Geolocation-FormElement
=======================

[](#geolocation-formelement)

This module provides a form-element for Latitude/Longitude-values.

This element adds a map into your form where you can select any location on earth by simply clicking onto it on a map. The form-element is hidden but without JS it is still displayed so that you still can insert Latitude-Longitude values like so:

```
50.1234,8.1234

```

Later on this element will provides a search form so you can search for adresses.

Installation
------------

[](#installation)

The module is best installed using [composer](https://getcomposer.org)

```
    composer require org_heigl/geolocation
```

Prerequisites
-------------

[](#prerequisites)

1. Add `Org_Heigl\Geolocation` to the list of your enabled modules.

    ```
        return [
            'modules' => [
               …
               'Org_Heigl\Contact',
               …
            ]
        ];
    ```
2. The content of the `public`-folder needs to be available to the public. When you use the [AssetManager](https://github.com/RWOverdijk/AssetManager)-Module that is already taken care of.
3. This module also needs a working jQuery available. You will have to take care about that yourself!

Usage
-----

[](#usage)

After installation you should be able to add a form-element `Geolocation` to your forms right away like the following example:

```
$form = new Zend\Form();
$form->addElement('geolocation');
```

###  Health Score

28

—

LowBetter than 54% of packages

Maintenance10

Infrequent updates — may be unmaintained

Popularity14

Limited adoption so far

Community9

Small or concentrated contributor base

Maturity67

Established project with proven stability

 Bus Factor1

Top contributor holds 97.9% 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 ~168 days

Recently: every ~316 days

Total

10

Last Release

2740d ago

Major Versions

1.2.0 → 2.0.02017-02-23

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

2.0.0PHP ^7.0

### Community

Maintainers

![](https://www.gravatar.com/avatar/5ae5183aaad2bc7453230704bd6991dc6ccbcd6e775c6a29efdc94350a69f247?d=identicon)[heiglandreas](/maintainers/heiglandreas)

---

Top Contributors

[![heiglandreas](https://avatars.githubusercontent.com/u/91998?v=4)](https://github.com/heiglandreas "heiglandreas (47 commits)")[![be-heiglandreas](https://avatars.githubusercontent.com/u/60882198?v=4)](https://github.com/be-heiglandreas "be-heiglandreas (1 commits)")

---

Tags

geolocationlatitudelongitudezf3earth

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/org-heigl-geolocation/health.svg)

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

###  Alternatives

[anthonymartin/geo-location

Powerful GeoCoding library: Retrieve bounding box coordinates, distances between geopoints, point in polygon, get longitude and latitude from addresses and more with GeoLocation for PHP

196949.5k5](/packages/anthonymartin-geo-location)[php-coord/php-coord

PHPCoord is a PHP library to aid in handling coordinates. It can convert coordinates for a point from one system to another and also calculate distance between points.

110914.5k12](/packages/php-coord-php-coord)[data-values/geo

Geographical value objects, parsers and formatters

20631.0k18](/packages/data-values-geo)[laravie/geotools

Geo-related tools PHP 7+ library

19105.4k1](/packages/laravie-geotools)

PHPackages © 2026

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