PHPackages                             victormlima98/leaflet-plugin - 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. victormlima98/leaflet-plugin

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

victormlima98/leaflet-plugin
============================

Leaflet plugin for October CMS

00JavaScript

Since Mar 29Pushed 4y agoCompare

[ Source](https://github.com/VictorMLima98/octobercms-leaflet)[ Packagist](https://packagist.org/packages/victormlima98/leaflet-plugin)[ RSS](/packages/victormlima98-leaflet-plugin/feed)WikiDiscussions master Synced 1w ago

READMEChangelogDependenciesVersions (1)Used By (0)

Octobercms Leaflet Integration Plugin
=====================================

[](#octobercms-leaflet-integration-plugin)

Introduction
============

[](#introduction)

[Leaflet](http://leafletjs.com) is "an open-source JavaScript library for mobile-friendly interactive maps"

Supported
=========

[](#supported)

- Map
- Provider:
    - Open Street Maps
    - Mapbox
- Layers:
    - Marker
    - Circle
    - Polygon
- Popups

Example
=======

[](#example)

This example is build on [quick start](http://leafletjs.com/examples/quick-start/) example from leaflet.

Open Street Maps
----------------

[](#open-street-maps)

No configuration needed, continue with *create a new map*.

Mapbox
------

[](#mapbox)

1. You require an [Mapbox](https://www.mapbox.com/studio/) account.
2. Navigate to Classic -&gt; Mapbox Editor Projects
3. Create a new Mapbox Editor project
4. After you choose the style, save the project
5. In the projects overview, you'll see your project id, that is required later
6. You also need an API access token. You can find it under Account -&gt; API access token

Create a new map
----------------

[](#create-a-new-map)

1. Navigate to Maps, in Octobercms backend.
2. Create a new map
3. Insert a name and copy and paste your Mapbox project id and your API access token.
4. After that you can add objects at the buttom.
5. Possible parameters for objects can be found on [Leaflet documentation](http://leafletjs.com/reference.html).

Display map
-----------

[](#display-map)

1. Open a cms page
2. Add map component
3. Select the map, that you want to display and set the properties.
4. Include the `{% component 'map' %}` in the cms page.

###  Health Score

14

—

LowBetter than 1% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity0

Limited adoption so far

Community8

Small or concentrated contributor base

Maturity27

Early-stage or recently created project

 Bus Factor1

Top contributor holds 96.6% 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.

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/79855605?v=4)[Victor Lima](/maintainers/VictorMLima98)[@VictorMLima98](https://github.com/VictorMLima98)

---

Top Contributors

[![TimFoerster](https://avatars.githubusercontent.com/u/7849550?v=4)](https://github.com/TimFoerster "TimFoerster (28 commits)")[![joeinnes](https://avatars.githubusercontent.com/u/4704069?v=4)](https://github.com/joeinnes "joeinnes (1 commits)")

### Embed Badge

![Health badge](/badges/victormlima98-leaflet-plugin/health.svg)

```
[![Health](https://phpackages.com/badges/victormlima98-leaflet-plugin/health.svg)](https://phpackages.com/packages/victormlima98-leaflet-plugin)
```

###  Alternatives

[khaled.alshamaa/ar-php

Set of functionalities enable Arabic website developers to serve professional search, present and process Arabic content in PHP

3393.0M42](/packages/khaledalshamaa-ar-php)[kigkonsult/icalcreator

iCalcreator is the PHP implementation of rfc2445/rfc5545 and rfc updates, management of calendar information

2472.9M23](/packages/kigkonsult-icalcreator)[kunststube/rison

A PHP encoder and decoder for Rison, the compact JSON-like data format optimized for URIs.

2470.3k3](/packages/kunststube-rison)

PHPackages © 2026

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