PHPackages                             sevengroupfrance/sulu-fr-gouv-map-bundle - 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. sevengroupfrance/sulu-fr-gouv-map-bundle

ActiveLibrary

sevengroupfrance/sulu-fr-gouv-map-bundle
========================================

1.0.3(1y ago)1878MITJavaScript

Since Sep 26Pushed 1y ago1 watchersCompare

[ Source](https://github.com/sevenGroupFrance/sulu-fr-gouv-map-bundle)[ Packagist](https://packagist.org/packages/sevengroupfrance/sulu-fr-gouv-map-bundle)[ RSS](/packages/sevengroupfrance-sulu-fr-gouv-map-bundle/feed)WikiDiscussions main Synced 1mo ago

READMEChangelog (4)DependenciesVersions (5)Used By (0)

sevengroupfrance/sulu-fr-gouv-map-bundle
========================================

[](#sevengroupfrancesulu-fr-gouv-map-bundle)

[![How the content type looks](assets/images/adresse_exemple.png)](assets/images/adresse_exemple.png)
Inspired by [this pull request](https://github.com/sulu/sulu-demo/pull/66).

What is this bundle's goal?
---------------------------

[](#what-is-this-bundles-goal)

To create a new content type `adresse` which is a single text input with autocomplete. It only searches through french addresses since it uses the [data gouv API](https://adresse.data.gouv.fr/api-doc/adresse).
The map installed in this bundle comes from [React Leaflet JS](https://react-leaflet.js.org/).

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

[](#installation)

1. Download the [package](https://packagist.org/packages/sevengroupfrance/sulu-fr-gouv-map-bundle) in your project with the following command line:
    `composer require sevengroupfrance/sulu-fr-gouv-map-bundle`.
2. In `config/bundles.php` add the following code:
    `SevenGroupFrance\SuluFrGouvMapBundle\SuluFrGouvMapBundle::class => ['all' => true]`.
3. In `assets/admin/package.json`, add the following line in the "dependencies" object:
    `"sulu-fr-gouv-map-bundle": "file:node_modules/@sulu/vendor/sevengroupfrance/sulu-fr-gouv-map-bundle/src/Resources/js"`.
4. In `assets/admin`, `npm install` to initialize the bundle's symlink directory.
5. In the same folder, `npm i react react-dom leaflet` and then `npm i react-leaflet`.
6. In `assets/admin/index.js`, add this line:
    `import 'sulu-fr-gouv-map-bundle'`.
7. In `assets/admin`, `npm run watch` or `npm run build`

Use in your template files
--------------------------

[](#use-in-your-template-files)

Once installed you'll have to create a new property with the type `adresse`

```

    address field (with autocomplete)

```

###  Health Score

32

—

LowBetter than 72% of packages

Maintenance42

Moderate activity, may be stable

Popularity17

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity50

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 100% 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 ~287 days

Total

4

Last Release

463d ago

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/95850916?v=4)[sevengroupfrance](/maintainers/sevengroupfrance)[@sevenGroupFrance](https://github.com/sevenGroupFrance)

---

Top Contributors

[![tommysonsylverstone](https://avatars.githubusercontent.com/u/47473393?v=4)](https://github.com/tommysonsylverstone "tommysonsylverstone (8 commits)")

### Embed Badge

![Health badge](/badges/sevengroupfrance-sulu-fr-gouv-map-bundle/health.svg)

```
[![Health](https://phpackages.com/badges/sevengroupfrance-sulu-fr-gouv-map-bundle/health.svg)](https://phpackages.com/packages/sevengroupfrance-sulu-fr-gouv-map-bundle)
```

PHPackages © 2026

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