New

Just launched: Vueblocks, a brand-new search engine for Vue packages! Explore Vueblocks →

nmfzone/google-static-map-laravel

Generates a static map using Google Map
1,252 3

Larablocks Analysis

nmfzone/google-static-map-laravel works with Laravel 5 (latest release v1.8.7, Jan 8, 2018), which reached end of life: no more fixes, even for security.

Recommendation checks

Not advised

Not advised: no release or commit in over 2 years.

  • No release or commit in over 2 years
  • Supports only Laravel 5, past end of life
  • No release in the last 12 months (last: Jan 8, 2018)
  • 3 downloads a month (needs 10,000)
  • 3 GitHub stars (needs 100)

State

Likely abandoned
  • No release or commit in over 2 years.
  • Last stable release: Jan 8, 2018.
  • No releases in the last 12 months.
  • First released: Dec 4, 2017.
  • Monthly downloads: 3.
  • 0 open issues on GitHub.

Data from Packagist and GitHub, checked by Larablocks on Nov 30, 2026.

Install
composer require nmfzone/google-static-map-laravel
Latest Version:v1.8.7
PHP:>=7.1.0
Laravel:5
License:MIT
Last Updated:Jan 8, 2018
Links: GitHub  ·  Packagist
Maintainer: nmfzone

Google Static Map Generator

Generate static map using Google Map API in Laravel.

Installation

Requirements

>= PHP 7.1

Installation in Laravel 5.5 and up

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

The package will automatically register itself.

Installation in Laravel 5.4

$ 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

$ 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

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

If you discover any security related issues, please email 123.nabil.dev@gmail.com instead of using the issue tracker.

Credits

License

The MIT License (MIT). Please see License File for more information.

Related Packages

mastani/laravel-google-static-map

Laravel Google Static Map Generator

2,003,154 47
laradic/generators

Code Generators

1,974 0
minhd/solr-client

A PHP Solr Client

1,823 1
capeandbay/laravel-service-generator
1,038 0
nauvalazhar/facade-please

Laravel 5 Facade Generator

566 2

Version History

Version Released PHP Laravel License
v1.8.7 >=7.1.0 5.* MIT
v1.8.6 >=7.1.0 5.* MIT
v1.8.5 >=7.1.0 5.* MIT
v1.8.4 >=7.1.0 5.* MIT
v1.8.3 >=7.1.0 5.* MIT