PHPackages                             clubdeuce/wp-google-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. [Utility &amp; Helpers](/categories/utility)
4. /
5. clubdeuce/wp-google-maps

ActiveLibrary[Utility &amp; Helpers](/categories/utility)

clubdeuce/wp-google-maps
========================

A Google Maps library for WordPress.

0.4.1(3y ago)043421GPL-2.0-or-laterJavaScriptPHP &gt;=7.4

Since Nov 14Pushed 2y ago2 watchersCompare

[ Source](https://github.com/clubdeuce/wp-google-maps)[ Packagist](https://packagist.org/packages/clubdeuce/wp-google-maps)[ Docs](http://github.com/clubdeuce/wp-google-maps)[ RSS](/packages/clubdeuce-wp-google-maps/feed)WikiDiscussions master Synced yesterday

READMEChangelog (10)Dependencies (8)Versions (18)Used By (1)

WP Google Maps
==============

[](#wp-google-maps)

[![Scrutinizer Code Quality](https://camo.githubusercontent.com/199c3bef263f5ccc7ae57ffc45e89515cfee307222cd92d77dcb4a4f6e5cf961/68747470733a2f2f7363727574696e697a65722d63692e636f6d2f672f636c756264657563652f77702d676f6f676c652d6d6170732f6261646765732f7175616c6974792d73636f72652e706e673f623d6d6173746572)](https://scrutinizer-ci.com/g/clubdeuce/wp-google-maps/?branch=master)[![Code Coverage](https://camo.githubusercontent.com/dd4e09d01c4f38d7ba1a7f015a286b51d66d3e46bf83efb5fac37447e4d1c0da/68747470733a2f2f7363727574696e697a65722d63692e636f6d2f672f636c756264657563652f77702d676f6f676c652d6d6170732f6261646765732f636f7665726167652e706e673f623d6d6173746572)](https://scrutinizer-ci.com/g/clubdeuce/wp-google-maps/?branch=master)[![Build Status](https://camo.githubusercontent.com/50f525cf67c5e73b0448505fa19f40ece54fbbcbca6f68317becc93c78e95fbc/68747470733a2f2f7472617669732d63692e6f72672f636c756264657563652f77702d676f6f676c652d6d6170732e7376673f6272616e63683d6d6173746572)](https://travis-ci.org/clubdeuce/wp-google-maps)[![DeepScan Grade](https://camo.githubusercontent.com/3d0784f8f517221fe3924b4adbdec6ab636f2f577c626ceac410c58755fcdb99/68747470733a2f2f646565707363616e2e696f2f6170692f70726f6a656374732f313337352f6272616e636865732f333935342f62616467652f67726164652e737667)](https://deepscan.io/dashboard/#view=project&pid=1375&bid=3954)

A Google Maps library for WordPress.

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

[](#installation)

This project can be installed via [Composer](https://getcomposer.org):

`composer require clubdeuce\wp-google-maps`

Simply include `autoload.php` from your `vendor` directory and the library will be included.

Usage
-----

[](#usage)

A simple example:

```

use Clubdeuce\WPGoogleMaps\Google_Maps;

Google_Maps::initialize();

// Register the conditions under which to load the necessary javascript
// You can use WP specific ( e.g. is_single, is_search, etc ) or any
// valid callback function or closure.
Google_Maps::register_script_condition( 'is_single' );

//Create a new map object
$map = Google_Maps::make_new_map();

//Create a new marker object
$marker = Google_Maps::make_marker_by_address( '1600 Pennsylvania Ave NW Washington DC' );

//Set the info window content
$marker->info_window()->set_content( 'The White House' );

//Add the marker to the map
$map->add_marker( $marker );

//Render the map
$map->the_map();

```

###  Health Score

30

—

LowBetter than 64% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity14

Limited adoption so far

Community15

Small or concentrated contributor base

Maturity62

Established project with proven stability

 Bus Factor1

Top contributor holds 88.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 ~122 days

Recently: every ~475 days

Total

17

Last Release

1149d ago

PHP version history (2 changes)0.1.0PHP &gt;=5.6.0

0.4.0PHP &gt;=7.4

### Community

Maintainers

![](https://www.gravatar.com/avatar/59ae303db5f3f217efd33f76e9e49d0ff2084cd2824c41db6a0a88d4eb2a1a97?d=identicon)[clubdeuce](/maintainers/clubdeuce)

---

Top Contributors

[![clubdeuce](https://avatars.githubusercontent.com/u/2600497?v=4)](https://github.com/clubdeuce "clubdeuce (181 commits)")[![dependabot[bot]](https://avatars.githubusercontent.com/in/29110?v=4)](https://github.com/dependabot[bot] "dependabot[bot] (22 commits)")[![gitter-badger](https://avatars.githubusercontent.com/u/8518239?v=4)](https://github.com/gitter-badger "gitter-badger (1 commits)")

---

Tags

phpwordpresslibrarymapsgoogle maps

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/clubdeuce-wp-google-maps/health.svg)

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

###  Alternatives

[arbermustafa/filament-locationpickr-field

Location picker field for Filament Php using Google Maps

1539.0k](/packages/arbermustafa-filament-locationpickr-field)

PHPackages © 2026

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