PHPackages                             cethyworks/google-map-display-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. [Image &amp; Media](/categories/media)
4. /
5. cethyworks/google-map-display-bundle

AbandonedArchivedSymfony-bundle[Image &amp; Media](/categories/media)

cethyworks/google-map-display-bundle
====================================

Provides a way to display google maps from address(es) (w/ the javascript API), the most minimalist, unobtrusive way possible.

v2.1(8y ago)0291MITPHPPHP &gt;=5.6.17

Since Jul 7Pushed 8y ago1 watchersCompare

[ Source](https://github.com/Cethy/GoogleMapDisplayBundle)[ Packagist](https://packagist.org/packages/cethyworks/google-map-display-bundle)[ RSS](/packages/cethyworks-google-map-display-bundle/feed)WikiDiscussions master Synced 4w ago

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

Cethyworks\\GoogleMapDisplayBundle
==================================

[](#cethyworksgooglemapdisplaybundle)

Provides a way to display google maps from address(es) (w/ the javascript API), the most minimalist, unobtrusive way possible.

[![CircleCI](https://camo.githubusercontent.com/45f4b977656af0e5aeed24ad996115190125f38d90b00769e323b22a2ed74dd1/68747470733a2f2f636972636c6563692e636f6d2f67682f43657468792f476f6f676c654d6170446973706c617942756e646c652f747265652f6d61737465722e7376673f7374796c653d736869656c64)](https://circleci.com/gh/Cethy/GoogleMapDisplayBundle/tree/master)

Install
-------

[](#install)

1\. Composer require

```
$ composer require cethyworks/google-map-display-bundle

```

2\. Register bundles

```
// AppKernel.php
class AppKernel extends Kernel
{
    public function registerBundles()
    {
        $bundles = [
            // ...
            new Cethyworks\ContentInjectorBundle\CethyworksContentInjectorBundle(),
            new Cethyworks\GooglePlaceAutocompleteBundle\CethyworksGooglePlaceAutocompleteBundle(),
        ];
        // ...

```

How to use
----------

[](#how-to-use)

1\. Update (optionally) your `config.yml` with :

```
cethyworks_google_map_display:
    google:
        api_key: 'your_api_key'

```

2\. Call the handler to add maps :

```
// retrieve the command handler
/** @var GoogleMapDisplayCommandHandler $handler */
$commandHandler = $container->get(GoogleMapDisplayCommandHandler::class);
// add address & html id to display the map
$commandHandler->addMap('map_id', 'address 1');
// optionnally add other maps
// $commandHandler->addMap('map2', 'address 2');
// ...

```

4\. Done ! (the handler register automatically the Command)

How it works
------------

[](#how-it-works)

The `ContentInjectorSubscriber` will inject the template containing the javascript code (with mapIds, addresses &amp; the google api\_key) into the `Response` automatically.

Additional information
----------------------

[](#additional-information)

[Cethyworks\\ContentInjectorBundle](https://github.com/Cethy/ContentInjectorBundle)

[Google Map JS API Documentation](https://developers.google.com/maps/documentation/javascript/examples/map-simple)

###  Health Score

27

—

LowBetter than 47% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity11

Limited adoption so far

Community7

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

Total

3

Last Release

3249d ago

Major Versions

v1.0 → v2.02017-08-07

### Community

Maintainers

![](https://www.gravatar.com/avatar/c0992307e9a9d414b451beb664b8313ed22f77d6b5b949a9f199b2114d6cae4d?d=identicon)[Cethy](/maintainers/Cethy)

---

Top Contributors

[![Cethy](https://avatars.githubusercontent.com/u/735030?v=4)](https://github.com/Cethy "Cethy (8 commits)")

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/cethyworks-google-map-display-bundle/health.svg)

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

###  Alternatives

[easycorp/easyadmin-bundle

Admin generator for Symfony applications

4.3k17.9M387](/packages/easycorp-easyadmin-bundle)

PHPackages © 2026

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