PHPackages                             nmfzone/google-static-map-laravel - 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. nmfzone/google-static-map-laravel

ActiveLibrary[Image &amp; Media](/categories/media)

nmfzone/google-static-map-laravel
=================================

Generates a static map using Google Map

v1.8.7(8y ago)31.1k↑275%1MITPHPPHP &gt;=7.1.0

Since Dec 4Pushed 8y ago1 watchersCompare

[ Source](https://github.com/nmfzone/google-static-map-laravel)[ Packagist](https://packagist.org/packages/nmfzone/google-static-map-laravel)[ Docs](https://github.com/nmfzone/google-static-map-laravel)[ RSS](/packages/nmfzone-google-static-map-laravel/feed)WikiDiscussions master Synced 2mo ago

READMEChangelog (10)Dependencies (4)Versions (17)Used By (0)

Google Static Map Generator
===========================

[](#google-static-map-generator)

Generate static map using Google Map API in Laravel.

Installation
============

[](#installation)

### Requirements

[](#requirements)

```
>= PHP 7.1

```

### Installation in Laravel 5.5 and up

[](#installation-in-laravel-55-and-up)

```
$ composer require nmfzone/google-static-map-laravel
```

The package will automatically register itself.

### Installation in Laravel 5.4

[](#installation-in-laravel-54)

```
$ composer require nmfzone/google-static-map-laravel
```

Next up, the service provider must be registered:

```
// config/app.php

'providers' => [
    ...
    NMFCODES\GoogleStaticMap\GoogleStaticMapServiceProvider::class,
];
```

If you want to make use of the facade you must install it as well:

```
// config/app.php

'aliases' => [
    ...
    'GoogleStaticMap' => NMFCODES\GoogleStaticMap\GoogleStaticMapFacade::class,
];
```

If you want to change the default config, you must publish the config file:

```
$ php artisan vendor:publish --provider="NMFCODES\GoogleStaticMap\GoogleStaticMapServiceProvider"
```

### Installation in Lumen

[](#installation-in-lumen)

```
$ composer require nmfzone/google-static-map-laravel
```

Next up, the service provider must be registered:

```
// bootstrap/app.php

$app->register(NMFCODES\GoogleStaticMap\GoogleStaticMapServiceProvider::class);
```

Usage
-----

[](#usage)

Using facade (with default config),

```
GoogleStaticMap::setCenter('Yogyakarta')->getUrl();
```

If you want to use the default marker, you can call `make($latitude, $longitude)` first:

```
GoogleStaticMap::make('-7.797068', '110.370529')->getUrl();

GoogleStaticMap::make('-7.797068', '110.370529')->setCenter('Indonesia')->setZoom('4')->getUrl();
```

Security
--------

[](#security)

If you discover any security related issues, please email  instead of using the issue tracker.

Credits
-------

[](#credits)

- [Nabil M. Firdaus](https://twitter.com/nmfzone)
- [All contributors](../../contributors)

License
-------

[](#license)

The MIT License (MIT). Please see [License File](LICENSE.md) for more information.

###  Health Score

32

—

LowBetter than 72% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity21

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

Recently: every ~8 days

Total

16

Last Release

3045d ago

### Community

Maintainers

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

---

Top Contributors

[![nmfzone](https://avatars.githubusercontent.com/u/10361906?v=4)](https://github.com/nmfzone "nmfzone (22 commits)")

---

Tags

laravelgooglegeneratorstatic maps

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/nmfzone-google-static-map-laravel/health.svg)

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

###  Alternatives

[mastani/laravel-google-static-map

Laravel Google Static Map Generator

471.5M8](/packages/mastani-laravel-google-static-map)[bkwld/croppa

Image thumbnail creation through specially formatted URLs for Laravel

510496.0k23](/packages/bkwld-croppa)[ralphjsmit/laravel-glide

Auto-magically generate responsive images from static image files.

4719.6k5](/packages/ralphjsmit-laravel-glide)[saasykit/laravel-open-graphy

An awesome open graph image (social cards) generator package for Laravel.

13057.0k](/packages/saasykit-laravel-open-graphy)[spatie/laravel-og-image

Generate OG images for your Laravel app

305.2k](/packages/spatie-laravel-og-image)[ace-of-aces/laravel-image-transform-url

Easy, URL-based image transformations inspired by Cloudflare Images.

1756.4k](/packages/ace-of-aces-laravel-image-transform-url)

PHPackages © 2026

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