PHPackages                             getherbie/plugin-googlemaps - 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. getherbie/plugin-googlemaps

ActiveHerbie-plugin[Utility &amp; Helpers](/categories/utility)

getherbie/plugin-googlemaps
===========================

Google Maps Plugin for Herbie.

v1.0.0(10y ago)22971BSD-3-ClauseHTML

Since Dec 3Pushed 8y agoCompare

[ Source](https://github.com/getherbie-plugin/googlemaps)[ Packagist](https://packagist.org/packages/getherbie/plugin-googlemaps)[ Docs](http://www.getherbie.org)[ RSS](/packages/getherbie-plugin-googlemaps/feed)WikiDiscussions master Synced 1mo ago

READMEChangelog (1)Dependencies (1)Versions (5)Used By (1)

Herbie Google Maps Plugin
=========================

[](#herbie-google-maps-plugin)

`Google Maps` ist ein [Herbie](http://github.com/getherbie/herbie) Plugin, mit dem du [Google Maps](http://maps.google.com)-Karten in deine Website einbettest.

Du kannst eine Adresse angeben, die geokodiert und mit einem Icon für den Standort versehen wird. Weitere Funktionen sind geplant.

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

[](#installation)

Das Plugin installierst du via Composer.

```
$ composer require getherbie/plugin-googlemaps

```

Danach aktivierst du das Plugin in der Konfigurationsdatei.

```
plugins:
    enable:
        - googlemaps

```

Konfiguration
-------------

[](#konfiguration)

Unter *plugins.config.googlemaps* stehen dir die folgenden Optionen zur Verfügung:

```
# template path to twig template
template: @plugin/googlemaps/templates/googlemaps.twig

# enable shortcode
shortcode: true

# enable twig function
twig: false

```

Anwendung
---------

[](#anwendung)

Nach der Installation steht dir ein Shortcode `googlemaps` zur Verfügung. Diesen rufst du wie folgt auf:

```
[googlemaps id="gmap" width="600 height="450" type="roadmap" class="gmap" zoom="15" address="Baslerstrasse 8048 Zürich"]

```

Wenn du in der Konfiguration die Twig-Funktion aktivierst, kannst du die gleichnamige Twig-Funktion auch in Layoutdateien einsetzen:

```
{{ googlemaps("gmap", 600, 450, "roadmap", "gmap", 15, "Baslerstrasse 8048 Zürich") }}

```

Die Funktion kannst du auch mit benannten Argumenten aufrufen.

```
{{ googlemaps(address="Baslerstrasse 8048 Zürich", type="roadmap") }}

```

Parameter
---------

[](#parameter)

NameBeschreibungTypDefaultidDas `id` HTML-AttributstringgmapwidthDie Breite des Videos in Pixelint600heightDie Höhe des Videos in Pixelint450typeDer KartentypstringroadmapclassDas `class` HTML-AttributstringgmapzoomDer Zoomfaktorint15addressDie Adresse, die geokodiert werden sollstring*empty*

###  Health Score

30

—

LowBetter than 64% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity14

Limited adoption so far

Community8

Small or concentrated contributor base

Maturity66

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

Total

4

Last Release

3694d ago

Major Versions

v0.7.0 → v1.0.02016-04-05

### Community

Maintainers

![](https://www.gravatar.com/avatar/3bdbbcc7c6a4eb0680b6f21d894db260f9863c0743d34365f723545aed49525d?d=identicon)[getherbie](/maintainers/getherbie)

---

Top Contributors

[![tbreuss](https://avatars.githubusercontent.com/u/1334161?v=4)](https://github.com/tbreuss "tbreuss (27 commits)")

---

Tags

plugingooglemapsherbie

### Embed Badge

![Health badge](/badges/getherbie-plugin-googlemaps/health.svg)

```
[![Health](https://phpackages.com/badges/getherbie-plugin-googlemaps/health.svg)](https://phpackages.com/packages/getherbie-plugin-googlemaps)
```

###  Alternatives

[ergebnis/composer-normalize

Provides a composer plugin for normalizing composer.json.

1.1k37.3M2.1k](/packages/ergebnis-composer-normalize)[coldtrick/widget_manager

Manage your widgets

214.3k](/packages/coldtrick-widget-manager)

PHPackages © 2026

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