PHPackages                             pinfirestudios/craft-google-static-maps - 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. pinfirestudios/craft-google-static-maps

ActiveCraft-plugin[API Development](/categories/api)

pinfirestudios/craft-google-static-maps
=======================================

Provides a function to generate a signed URL for the Google Maps Static API

v1.0.1(7y ago)31682[1 issues](https://github.com/pinfirestudios/craft-google-static-maps/issues)MITPHP

Since Aug 20Pushed 1mo ago1 watchersCompare

[ Source](https://github.com/pinfirestudios/craft-google-static-maps)[ Packagist](https://packagist.org/packages/pinfirestudios/craft-google-static-maps)[ RSS](/packages/pinfirestudios-craft-google-static-maps/feed)WikiDiscussions master Synced yesterday

READMEChangelogDependencies (1)Versions (5)Used By (0)

Google Static Maps plugin for Craft CMS 3.x
===========================================

[](#google-static-maps-plugin-for-craft-cms-3x)

Provides a function to generate a signed URL for the Google Maps Static API

Requirements
------------

[](#requirements)

This plugin requires Craft CMS 3.0.0-beta.23 or later.

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

[](#installation)

To install the plugin, follow these instructions.

1. Open your terminal and go to your Craft project:

    ```
     cd /path/to/project

    ```
2. Then tell Composer to load the plugin:

    ```
     composer require pinfirestudios/google-static-maps

    ```
3. In the Control Panel, go to Settings → Plugins and click the “Install” button for Google Static Maps.

Google Static Maps Overview
---------------------------

[](#google-static-maps-overview)

Provides a TWIG variable, googleStaticMaps with a buildUrl() method that takes URL parameters to pass into the Google Maps API. It then adds the API key to the query, signs it using the URL signing secret and returns the URL. Also includes a img() method that properly adds height/width attributes for you.

See  for the possible variables to pass into the function.

Configuring Google Static Maps
------------------------------

[](#configuring-google-static-maps)

Put your API key and signing secret either into a config file (using .env) or into the GUI.

Using Google Static Maps
------------------------

[](#using-google-static-maps)

In twig:

```

```

or

```
{{ craft.googleStaticMaps.img(400, 400, {
	center: "0,0",
	zoom: 10
}) | raw }}

```

Brought to you by [Pinfire Studios](www.pinfirestudios.com)

###  Health Score

39

—

LowBetter than 86% of packages

Maintenance55

Moderate activity, may be stable

Popularity16

Limited adoption so far

Community9

Small or concentrated contributor base

Maturity65

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

Total

4

Last Release

32d ago

Major Versions

v1.0.1 → 4.x-dev2026-04-10

4.x-dev → 5.x-dev2026-04-10

PHP version history (2 changes)4.x-devPHP ^8.0.2

5.x-devPHP ^8.2

### Community

Maintainers

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

---

Top Contributors

[![jcherniak](https://avatars.githubusercontent.com/u/1727656?v=4)](https://github.com/jcherniak "jcherniak (3 commits)")

---

Tags

cmsCraftcraftcmscraft-plugingoogle mapsgoogle maps static api

### Embed Badge

![Health badge](/badges/pinfirestudios-craft-google-static-maps/health.svg)

```
[![Health](https://phpackages.com/badges/pinfirestudios-craft-google-static-maps/health.svg)](https://phpackages.com/packages/pinfirestudios-craft-google-static-maps)
```

###  Alternatives

[wrav/oembed

A simple plugin to extract media information from websites, like youtube videos, twitter statuses or blog articles.

36205.0k3](/packages/wrav-oembed)[craftpulse/craft-typesense

Craft Plugin that synchronises with Typesense

122.7k](/packages/craftpulse-craft-typesense)[jsmrtn/craftagram

Grab Instagram content through the Instagram API

141.3k](/packages/jsmrtn-craftagram)

PHPackages © 2026

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