PHPackages                             munso/iris-geocoder-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. [Utility &amp; Helpers](/categories/utility)
4. /
5. munso/iris-geocoder-bundle

ActiveSymfony-bundle[Utility &amp; Helpers](/categories/utility)

munso/iris-geocoder-bundle
==========================

French IRIS INSSE code address Geocoder

0591PHP

Since May 19Pushed 9y ago2 watchersCompare

[ Source](https://github.com/Munso-Agency/iris-geocoder-bundle)[ Packagist](https://packagist.org/packages/munso/iris-geocoder-bundle)[ RSS](/packages/munso-iris-geocoder-bundle/feed)WikiDiscussions master Synced 2w ago

READMEChangelogDependenciesVersions (1)Used By (0)

iris-geocoder-bundle
====================

[](#iris-geocoder-bundle)

Symfony bundle to reverse geocoding from address to French IRIS Areas .

Based on :  writed in python.

Installation
============

[](#installation)

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

[](#requirements)

You have to install postgreSQL and PostGIS. For Debian:

```
    sudo apt-get install postgresql postgis
```

You have to be a PostgreSQL superuser to create the postgis extension for your database. If it's not the case, you can do:

```
    su
    su - postgres
    psql DATABASENAME -c "CREATE EXTENSION postgis;"
```

Download the last available IRIS shape file at the URL :

Configuration
-------------

[](#configuration)

Create a database and add a new doctrine connection in *app/config.yml* [Symfony Documentation](http://symfony.com/doc/current/doctrine/multiple_entity_managers.html)

```
doctrine:
    dbal:
        connections:
            #[...]
            psql:
                driver: pdo_pgsql
                host:     "%psql_database_host%"
                port:     "%psql_database_port%"
                dbname:   "%psql_database_name%"
                user:     "%psql_database_user%"
                password: "%psql_database_password%"
                charset:  UTF8
```

Add 'geometry' mapping column type:

```
doctrine:
    dbal:
        types:
            geometry: Jsor\Doctrine\PostGIS\Types\GeometryType
```

Add a new doctrine entity\_manager for the connection recently added:

```
    orm:
        entity_managers:
            #[...]
            geocodage:
                connection: psql
                mappings:
                    MunsoIRISGeocoderBundle: ~
                dql:
                    numeric_functions:
                        ST_MakePoint: Jsor\Doctrine\PostGIS\Functions\ST_MakePoint
                        ST_Contains: Jsor\Doctrine\PostGIS\Functions\ST_Contains
                        ST_SetSRID: Jsor\Doctrine\PostGIS\Functions\ST_SetSRID
```

### Customization

[](#customization)

If you have already a postgresSQL connection configured on your project, you could edit entity\_manager name used.

If the columns mapped in your \*.shp file does not fit with IrisItem entity, you can create your own entity by editing `munso.iris_geocoder.entity_name` parameter.

```
    munso.iris_geocoder.entity_manager.name: 'geocodage'
    munso.iris_geocoder.entity_name: 'MunsoIRISGeocoderBundle:IrisItem'
```

Import
------

[](#import)

Import your shape into postgresSQL database by running the command:

```
    php bin/console munso:iris:import-shape path/to/file.shp

```

The .shx and .dbf files must be in the same directory than the \*.shp file. The SQL table will be truncated unless you use `--append` option.

\#Usage

IRIS Code by address
--------------------

[](#iris-code-by-address)

Use service `munso.iris_geocoder`:

```
   $IrisItem = $this->get('munso.iris_geocoder')->getIRISByAddress('2b Allée Forain Francois verdier');
```

###  Health Score

22

—

LowBetter than 21% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity9

Limited adoption so far

Community11

Small or concentrated contributor base

Maturity41

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 87.5% 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/3798224?v=4)[Renaud Jacquot](/maintainers/Jacquot-Renaud)[@Jacquot-Renaud](https://github.com/Jacquot-Renaud)

---

Top Contributors

[![RenaudMunso](https://avatars.githubusercontent.com/u/19682248?v=4)](https://github.com/RenaudMunso "RenaudMunso (7 commits)")[![Munso](https://avatars.githubusercontent.com/u/28751871?v=4)](https://github.com/Munso "Munso (1 commits)")

### Embed Badge

![Health badge](/badges/munso-iris-geocoder-bundle/health.svg)

```
[![Health](https://phpackages.com/badges/munso-iris-geocoder-bundle/health.svg)](https://phpackages.com/packages/munso-iris-geocoder-bundle)
```

###  Alternatives

[magyarjeti/laravel-lipsum

Lorem ipsum generator for Laravel Framework

1617.9k](/packages/magyarjeti-laravel-lipsum)

PHPackages © 2026

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