PHPackages                             egeloen/google-map - 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. egeloen/google-map

ActiveLibrary

egeloen/google-map
==================

Google Map API v3 integration for PHP 5.6+

2.0.2(8y ago)3211.1M↓14.1%185[22 issues](https://github.com/egeloen/ivory-google-map/issues)[9 PRs](https://github.com/egeloen/ivory-google-map/pulls)3MITPHPPHP ^5.6|^7.0

Since Mar 23Pushed 3y ago35 watchersCompare

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

READMEChangelogDependencies (10)Versions (12)Used By (3)

README
======

[](#readme)

[![Travis Build Status](https://camo.githubusercontent.com/e7121e0b1fa6048ebb988b448db75a63a7b424309149c929147782b3240788b0/68747470733a2f2f7472617669732d63692e6f72672f6567656c6f656e2f69766f72792d676f6f676c652d6d61702e7376673f6272616e63683d6d6173746572)](http://travis-ci.org/egeloen/ivory-google-map)[![AppVeyor Build status](https://camo.githubusercontent.com/7d6afe5dd630cd6fbec0d309c5c12f778e25677f548684c073e82ab707f63ea8/68747470733a2f2f63692e6170707665796f722e636f6d2f6170692f70726f6a656374732f7374617475732f7839383178366e3237643077706630742f6272616e63682f6d61737465723f7376673d74727565)](https://ci.appveyor.com/project/egeloen/ivory-google-map/branch/master)[![Code Coverage](https://camo.githubusercontent.com/cd4939978ffc3fd99a662452b179eda15290a1fd385b1350db155d60f1278efb/68747470733a2f2f7363727574696e697a65722d63692e636f6d2f672f6567656c6f656e2f69766f72792d676f6f676c652d6d61702f6261646765732f636f7665726167652e706e673f623d6d6173746572)](https://scrutinizer-ci.com/g/egeloen/ivory-google-map/?branch=master)[![Scrutinizer Code Quality](https://camo.githubusercontent.com/779dfdc6d736e60039d6cc5b03d9c76a5b23fe6ed461f1494d653e1fc0de40b7/68747470733a2f2f7363727574696e697a65722d63692e636f6d2f672f6567656c6f656e2f69766f72792d676f6f676c652d6d61702f6261646765732f7175616c6974792d73636f72652e706e673f623d6d6173746572)](https://scrutinizer-ci.com/g/egeloen/ivory-google-map/?branch=master)[![Dependency Status](https://camo.githubusercontent.com/ec507be33a394867aae15436032f44608a870e5f11ab15731dd1ec90d5696d8e/687474703a2f2f7777772e76657273696f6e6579652e636f6d2f7068702f6567656c6f656e3a676f6f676c652d6d61702f62616467652e737667)](http://www.versioneye.com/php/egeloen:google-map)

[![Latest Stable Version](https://camo.githubusercontent.com/0dc19f85decb46a03f057704184471ee980a1966a285ddf6cbe7f079e3fe16ef/68747470733a2f2f706f7365722e707567782e6f72672f6567656c6f656e2f676f6f676c652d6d61702f762f737461626c652e737667)](https://packagist.org/packages/egeloen/google-map)[![Latest Unstable Version](https://camo.githubusercontent.com/993954e9ff6d1d070a7aacb2a00d3b79b430ada11a4d4e15af56d198737be705/68747470733a2f2f706f7365722e707567782e6f72672f6567656c6f656e2f676f6f676c652d6d61702f762f756e737461626c652e737667)](https://packagist.org/packages/egeloen/google-map)[![Total Downloads](https://camo.githubusercontent.com/3c486239810be52302ac05ac74460518ce4f525b32d709a7f376441e7282c02a/68747470733a2f2f706f7365722e707567782e6f72672f6567656c6f656e2f676f6f676c652d6d61702f646f776e6c6f6164732e737667)](https://packagist.org/packages/egeloen/google-map)[![License](https://camo.githubusercontent.com/ff4bc77f77e8ed1d8ff5ab122d51fee9a931174886ce5d80bf9476b2a8b15b6e/68747470733a2f2f706f7365722e707567782e6f72672f6567656c6f656e2f676f6f676c652d6d61702f6c6963656e73652e737667)](https://packagist.org/packages/egeloen/google-map)

Overview
--------

[](#overview)

The Ivory Google Map project provides a Google Map integration for your PHP 5.6+ project. It allows you to manage map, controls, overlays, events &amp; services through the Google Map API v3.

```
use Ivory\GoogleMap\Helper\Builder\ApiHelperBuilder;
use Ivory\GoogleMap\Helper\Builder\MapHelperBuilder;
use Ivory\GoogleMap\Map;

$map = new Map();

$mapHelper = MapHelperBuilder::create()->build();
$apiHelper = ApiHelperBuilder::create()
    ->setKey('API_KEY')
    ->build();

echo $mapHelper->render($map);
echo $apiHelper->render([$map]);
```

Documentation
-------------

[](#documentation)

**You're currently browsing the 2.x documentation, if you're using the 1.x, read [this documentation](https://github.com/egeloen/ivory-google-map/tree/1.4.1) instead.**

- [Installation](/doc/installation.md)
- [Usage](/doc/usage.md)
    - [Map](/doc/map.md)
    - [Controls](/doc/control/index.md)
        - [Map type](/doc/control/map_type.md)
        - [Rotate](/doc/control/rotate.md)
        - [Scale](/doc/control/scale.md)
        - [Street view](/doc/control/street_view.md)
        - [Zoom](/doc/control/zoom.md)
        - [Fullscreen](/doc/control/fullscreen.md)
        - [Custom](/doc/control/custom.md)
    - [Events](/doc/event.md)
    - [Layers](/doc/layer/index.md)
        - [Geo Json Layer](/doc/layer/geo_json_layer.md)
        - [Heatmap Layer](/doc/layer/heatmap_layer.md)
        - [Kml Layer](/doc/layer/kml_layer.md)
    - [Overlays](/doc/overlay/index.md)
        - [Marker](/doc/overlay/marker.md)
        - [Info Window](/doc/overlay/info_window.md)
        - [Info Box](/doc/overlay/info_box.md)
        - [Polyline](/doc/overlay/polyline.md)
        - [Encoded Polyline](/doc/overlay/encoded_polyline.md)
        - [Polygon](/doc/overlay/polygon.md)
        - [Rectangle](/doc/overlay/rectangle.md)
        - [Circle](/doc/overlay/circle.md)
        - [Ground Overlay](/doc/overlay/ground_overlay.md)
        - [Marker Clusterer](/doc/overlay/marker_clusterer.md)
    - [Places](/doc/place/index.md)
        - [Autocomplete](/doc/place/autocomplete.md)
    - [Rendering](/doc/helper/index.md)
        - [Map Rendering](/doc/helper/map.md)
        - [Static Map Rendering](/doc/helper/static_map.md)
        - [Places Autocomplete Rendering](/doc/helper/place_autocomplete.md)
        - [API Rendering](/doc/helper/api.md)
    - [Services](/doc/service/index.md)
        - [Direction](/doc/service/direction/direction.md)
        - [Distance Matrix](/doc/service/distance_matrix/distance_matrix.md)
        - [Elevation](/doc/service/elevation/elevation.md)
        - [Geocoder](/doc/service/geocoder/geocoder.md)
        - [Place](/doc/service/place/index.md)
            - [Autocomplete](/doc/service/place/autocomplete/place_autocomplete.md)
            - [Detail](/doc/service/place/detail/place_detail.md)
            - [Photo](/doc/service/place/photo/place_photo.md)
            - [Search](/doc/service/place/search/place_search.md)
        - [TimeZone](/doc/service/timezone/place_timezone.md)

Testing
-------

[](#testing)

The library is fully unit tested by [PHPUnit](http://www.phpunit.de/) with a code coverage close to **100%**. To execute the test suite, check the travis [configuration](/.travis.yml).

Contribute
----------

[](#contribute)

We love contributors! Ivory is an open source project. If you'd like to contribute, feel free to propose a PR! You can follow the [CONTRIBUTING](/CONTRIBUTING.md) file which will explain you how to set up the project.

License
-------

[](#license)

The Ivory Google Map is under the MIT license. For the full copyright and license information, please read the [LICENSE](/LICENSE) file that was distributed with this source code.

###  Health Score

48

—

FairBetter than 95% of packages

Maintenance19

Infrequent updates — may be unmaintained

Popularity59

Moderate usage in the ecosystem

Community37

Small or concentrated contributor base

Maturity65

Established project with proven stability

 Bus Factor1

Top contributor holds 90.6% 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 ~152 days

Recently: every ~269 days

Total

11

Last Release

3279d ago

Major Versions

0.9.1 → 1.0.02013-06-07

1.4.1 → 2.0.02017-02-27

PHP version history (2 changes)0.9.0PHP &gt;=5.3.0

2.0.0PHP ^5.6|^7.0

### Community

Maintainers

![](https://www.gravatar.com/avatar/808f1df1f6ccd749b9c985f3b4a8753788e9bf74e7cead639fcf49cd2a714fd0?d=identicon)[egeloen](/maintainers/egeloen)

---

Top Contributors

[![GeLoLabs](https://avatars.githubusercontent.com/u/149005863?v=4)](https://github.com/GeLoLabs "GeLoLabs (261 commits)")[![daviddlv](https://avatars.githubusercontent.com/u/1759582?v=4)](https://github.com/daviddlv "daviddlv (3 commits)")[![apaccou](https://avatars.githubusercontent.com/u/6560961?v=4)](https://github.com/apaccou "apaccou (3 commits)")[![MasThoDont](https://avatars.githubusercontent.com/u/2285461?v=4)](https://github.com/MasThoDont "MasThoDont (2 commits)")[![vv12131415](https://avatars.githubusercontent.com/u/17382248?v=4)](https://github.com/vv12131415 "vv12131415 (2 commits)")[![benr77](https://avatars.githubusercontent.com/u/2156742?v=4)](https://github.com/benr77 "benr77 (1 commits)")[![ghua](https://avatars.githubusercontent.com/u/1211028?v=4)](https://github.com/ghua "ghua (1 commits)")[![gregurco](https://avatars.githubusercontent.com/u/4052904?v=4)](https://github.com/gregurco "gregurco (1 commits)")[![hamid80386](https://avatars.githubusercontent.com/u/1708829?v=4)](https://github.com/hamid80386 "hamid80386 (1 commits)")[![igormukhingmailcom](https://avatars.githubusercontent.com/u/6544038?v=4)](https://github.com/igormukhingmailcom "igormukhingmailcom (1 commits)")[![johnnypeck](https://avatars.githubusercontent.com/u/254875?v=4)](https://github.com/johnnypeck "johnnypeck (1 commits)")[![ASKozienko](https://avatars.githubusercontent.com/u/100460?v=4)](https://github.com/ASKozienko "ASKozienko (1 commits)")[![mykehsd](https://avatars.githubusercontent.com/u/195844?v=4)](https://github.com/mykehsd "mykehsd (1 commits)")[![Noogic](https://avatars.githubusercontent.com/u/5868431?v=4)](https://github.com/Noogic "Noogic (1 commits)")[![Nyholm](https://avatars.githubusercontent.com/u/1275206?v=4)](https://github.com/Nyholm "Nyholm (1 commits)")[![RowdyElectron](https://avatars.githubusercontent.com/u/4397586?v=4)](https://github.com/RowdyElectron "RowdyElectron (1 commits)")[![rychlik](https://avatars.githubusercontent.com/u/350595?v=4)](https://github.com/rychlik "rychlik (1 commits)")[![tyler-sommer](https://avatars.githubusercontent.com/u/916259?v=4)](https://github.com/tyler-sommer "tyler-sommer (1 commits)")[![zavan](https://avatars.githubusercontent.com/u/1722965?v=4)](https://github.com/zavan "zavan (1 commits)")[![XWB](https://avatars.githubusercontent.com/u/1032281?v=4)](https://github.com/XWB "XWB (1 commits)")

---

Tags

googlemap

###  Code Quality

TestsPHPUnit

Code StylePHP CS Fixer

### Embed Badge

![Health badge](/badges/egeloen-google-map/health.svg)

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

###  Alternatives

[cornford/googlmapper

An easy way to integrate Google Maps with Laravel.

457447.9k4](/packages/cornford-googlmapper)[egeloen/google-map-bundle

Provides a google map integration for your Symfony2 Project.

216716.3k3](/packages/egeloen-google-map-bundle)[cmen/google-charts-bundle

This Bundle provides a Twig extension and PHP objects to display Google charts in your Symfony application.

76844.8k2](/packages/cmen-google-charts-bundle)[farhanwazir/laravelgooglemaps

Laravel Google Map package for 5.x. You can use all google map features in laravel.

15542.0k2](/packages/farhanwazir-laravelgooglemaps)[ivory/google-map

Google Map API v3 integration for PHP ^8.1

14363.2k4](/packages/ivory-google-map)[clickstorm/go-maps-ext

Google Maps Extension. Simply insert a google map Version 3 without jQuery, calculate a route, images for markers, style maps, KML, categories, responsive and many more.

23159.1k1](/packages/clickstorm-go-maps-ext)

PHPackages © 2026

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