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

ActiveLibrary

jasekiw/google-static-maps
==========================

generates google static map

0.5.1(9y ago)149Apache 2.0PHPPHP ^5.6.0 || ^7.0

Since Nov 16Pushed 5y ago1 watchersCompare

[ Source](https://github.com/jasekiw/php-static-maps-generator)[ Packagist](https://packagist.org/packages/jasekiw/google-static-maps)[ RSS](/packages/jasekiw-google-static-maps/feed)WikiDiscussions master Synced today

READMEChangelog (2)Dependencies (2)Versions (3)Used By (0)

php-static-maps-generator
=========================

[](#php-static-maps-generator)

A PHP library to generate Google Static Map Links. The Google Static Maps Library (V2) is a free service, \[made available by Google\] ().

Using simple OO methods, this project will build the URL which can be used in an image tag.

Example Code:
-------------

[](#example-code)

```
$oStaticMap = new GoogleStaticMap();
$oStaticMap	->setCenter("London,UK")
			->setHeight(300)
			->setWidth(232)
			->setZoom(8)
			->setFormat("jpg")
			->setFeatureStyling(array(
				"feature" => "all",
				"element" => "all",
				"style" => array(
					"hue" => "#006400",
					"lightness" => 50
				)
			));

echo '';

```

Example Output:
---------------

[](#example-output)

[![Sample map generated by the Class](https://camo.githubusercontent.com/b482ed9cf231fe7e881f1e276f3f91208cab78ec443c5c7b98f5022bc2f36049/687474703a2f2f6d6170732e676f6f676c652e636f6d2f6d6170732f6170692f7374617469636d61703f63656e7465723d4c6f6e646f6e253243554b267a6f6f6d3d38266c616e67756167653d656e2d4742266d6170747970653d726f61646d617026666f726d61743d6a70672673697a653d32333278333030267363616c653d31267374796c653d666561747572653a616c6c253743656c656d656e743a616c6c2537436c696768746e6573733a35302537436875653a30783030363430302673656e736f723d66616c7365)](https://camo.githubusercontent.com/b482ed9cf231fe7e881f1e276f3f91208cab78ec443c5c7b98f5022bc2f36049/687474703a2f2f6d6170732e676f6f676c652e636f6d2f6d6170732f6170692f7374617469636d61703f63656e7465723d4c6f6e646f6e253243554b267a6f6f6d3d38266c616e67756167653d656e2d4742266d6170747970653d726f61646d617026666f726d61743d6a70672673697a653d32333278333030267363616c653d31267374796c653d666561747572653a616c6c253743656c656d656e743a616c6c2537436c696768746e6573733a35302537436875653a30783030363430302673656e736f723d66616c7365)

Requirements:
-------------

[](#requirements)

This library requires no additional software beyond a functional version of PHP 5.2 (or greater) and if you wish to retrieve the Map image, a working Internet connection.

###  Health Score

24

—

LowBetter than 35% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity10

Limited adoption so far

Community9

Small or concentrated contributor base

Maturity49

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 66.7% 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 ~0 days

Total

2

Last Release

3416d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/2cd83659c843473b85a2f40d8b48903f99c481d2766738e7ba0cc072dc99edf1?d=identicon)[jasekiw](/maintainers/jasekiw)

---

Top Contributors

[![jasekiw](https://avatars.githubusercontent.com/u/4037224?v=4)](https://github.com/jasekiw "jasekiw (6 commits)")[![bensquire](https://avatars.githubusercontent.com/u/600237?v=4)](https://github.com/bensquire "bensquire (3 commits)")

###  Code Quality

TestsPHPUnit

### Embed Badge

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

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

PHPackages © 2026

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