PHPackages                             handplant/craft-geoman - 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. handplant/craft-geoman

ActiveCraft-plugin[Utility &amp; Helpers](/categories/utility)

handplant/craft-geoman
======================

geometry editing tools

2.0.0(1y ago)53511MITPHPPHP ^8.2

Since Jul 21Pushed 1y ago1 watchersCompare

[ Source](https://github.com/handplant/craft-geoman)[ Packagist](https://packagist.org/packages/handplant/craft-geoman)[ RSS](/packages/handplant-craft-geoman/feed)WikiDiscussions craft-cms-5 Synced 1mo ago

READMEChangelog (3)Dependencies (1)Versions (5)Used By (0)

[![](resources/img/plugin-logo.svg)](resources/img/plugin-logo.svg)

Craft Geoman
============

[](#craft-geoman)

This plugin adds a “Geoman” field type to Craft CMS, which provides geometry editing powered by [leaflet-geoman](https://geoman.io/leaflet-geoman) by geoman.io.

[![](resources/img/screenshot1.png)](resources/img/screenshot1.png)

Requirements
------------

[](#requirements)

This plugin requires Craft CMS 4.0 or later.

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

[](#installation)

You can install this plugin from the Plugin Store or with Composer.

#### From the Plugin Store

[](#from-the-plugin-store)

Go to the Plugin Store in your project’s Control Panel and search for “Craft Geoman”. Then click on the “Install” button in its modal window.

#### With Composer

[](#with-composer)

Open your terminal and run the following commands:

```
# go to the project directory
cd /path/to/my-project

# tell Composer to load the plugin
composer require handplant/craft-geoman

# tell Craft to install the plugin
./craft plugin/install craft-geoman
```

Simple frontend example
-----------------------

[](#simple-frontend-example)

```

    {{ entry.geoman }}

var map = L.map(document.getElementById('map')).setView([47.9034, 8.10577], 10);

L.tileLayer('https://{s}.tile.openstreetmap.org/{z}/{x}/{y}.png', {
    attribution: 'Data ©OpenStreetMap',
    maxZoom: 18
}).addTo(map);

var layer = L.featureGroup().addTo(map);

var geojson = document.getElementById('geojson');
if (geojson.innerHTML) {
    var geojsonLayer = L.geoJson(JSON.parse(geojson.innerHTML), {
        pointToLayer: (feature, latlng) => {
            if (feature.properties.radius) {
                return new L.Circle(latlng, feature.properties.radius)
            } else if (feature.properties.shape == "CircleMarker") {
                return new L.CircleMarker(latlng)
            } else {
                return new L.Marker(latlng)
            }
            return
        },
    })
    geojsonLayer.eachLayer(function (l) {
      layer.addLayer(l)
    })
    map.fitBounds(layer.getBounds())
}

```

###  Health Score

36

—

LowBetter than 82% of packages

Maintenance39

Infrequent updates — may be unmaintained

Popularity20

Limited adoption so far

Community10

Small or concentrated contributor base

Maturity63

Established project with proven stability

 Bus Factor1

Top contributor holds 85.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 ~436 days

Total

3

Last Release

519d ago

Major Versions

1.0.1 → 2.0.02024-12-09

PHP version history (2 changes)1.0.0PHP ^8.0

2.0.0PHP ^8.2

### Community

Maintainers

![](https://www.gravatar.com/avatar/0df55cdb6b67d2bd8ebf614c42c7b0d93b70ebe02bc8bd8c512838200928a190?d=identicon)[handplant](/maintainers/handplant)

---

Top Contributors

[![handplant](https://avatars.githubusercontent.com/u/2598962?v=4)](https://github.com/handplant "handplant (6 commits)")[![adrienne](https://avatars.githubusercontent.com/u/89705?v=4)](https://github.com/adrienne "adrienne (1 commits)")

---

Tags

craft-plugincraft4craftcmsgeomanleafletmapcmsCraftcraftcmscraft-plugincraft geomancraft field

### Embed Badge

![Health badge](/badges/handplant-craft-geoman/health.svg)

```
[![Health](https://phpackages.com/badges/handplant-craft-geoman/health.svg)](https://phpackages.com/packages/handplant-craft-geoman)
```

###  Alternatives

[verbb/navigation

Create navigation menus for your site.

90683.7k17](/packages/verbb-navigation)[verbb/formie

The most user-friendly forms plugin for Craft.

101372.9k40](/packages/verbb-formie)[verbb/comments

Add comments to your site.

13753.1k](/packages/verbb-comments)[verbb/tablemaker

Create customizable and user-defined table fields.

40168.8k1](/packages/verbb-tablemaker)[supercool/tablemaker

Create customizable and user-defined table fields.

40141.7k](/packages/supercool-tablemaker)[pennebaker/craft-architect

CraftCMS plugin to generate content models from JSON/YAML data.

72148.5k5](/packages/pennebaker-craft-architect)

PHPackages © 2026

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