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.2k↑185.7%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 4d 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

33

—

LowBetter than 72% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity22

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

3098d 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

[psalm/plugin-laravel

Psalm plugin for Laravel

3355.3M346](/packages/psalm-plugin-laravel)[laravel/horizon

Dashboard and code-driven configuration for Laravel queues.

4.2k95.4M306](/packages/laravel-horizon)[laravel/sail

Docker files for running a basic Laravel application.

1.9k205.7M1.3k](/packages/laravel-sail)[illuminate/database

The Illuminate Database package.

2.8k54.9M11.6k](/packages/illuminate-database)[laravel/ai

The official AI SDK for Laravel.

1.0k3.2M194](/packages/laravel-ai)[moonshine/moonshine

Laravel administration panel

1.3k253.1k81](/packages/moonshine-moonshine)

PHPackages © 2026

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