PHPackages                             polem/departements - 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. polem/departements

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

polem/departements
==================

Simple french departments and areas library

0.0.11(9y ago)22.7k31MITPHP

Since Mar 5Pushed 9y ago1 watchersCompare

[ Source](https://github.com/polem/departements)[ Packagist](https://packagist.org/packages/polem/departements)[ RSS](/packages/polem-departements/feed)WikiDiscussions master Synced 3d ago

READMEChangelog (1)Dependencies (2)Versions (13)Used By (1)

Departements [![Build Status](https://camo.githubusercontent.com/21193f4581e5a8427b6a77a8216f670c300f3f32d3852e76ecabe209ff9c1bdf/68747470733a2f2f7365637572652e7472617669732d63692e6f72672f706f6c656d2f646570617274656d656e74732e706e67)](http://travis-ci.org/polem/departements) [![SensioLabsInsight](https://camo.githubusercontent.com/a16dbcc711b1ea4047e6351889a44581b49ac068394a549eb4172872d6eaee02/68747470733a2f2f696e73696768742e73656e73696f6c6162732e636f6d2f70726f6a656374732f63373531303261372d636637382d343035392d383164372d3232653130373236643434632f6d696e692e706e67)](https://insight.sensiolabs.com/projects/c75102a7-cf78-4059-81d7-22e10726d44c) [![Scrutinizer Code Quality](https://camo.githubusercontent.com/81cbe3d06eccc8cd6a55a2c2d8cf7f39de21cb7052812b0eb54ead4ea4013a12/68747470733a2f2f7363727574696e697a65722d63692e636f6d2f672f706f6c656d2f646570617274656d656e74732f6261646765732f7175616c6974792d73636f72652e706e673f733d31313739353564613266653763653465343365353064663831646631303162613532306633343536)](https://scrutinizer-ci.com/g/polem/departements/)
====================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================

[](#departements---)

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

[](#installation)

`composer require polem/departements`

Usage
-----

[](#usage)

```
use Departements\Datasource\JsonDatasource;
use Departements\Provider;

$file = __DIR__ . '/datas.json';
$datasource = new JsonDatasource($file);
$provider = new Provider($datasource);

// will return all departments
$provider->findAllDepartements();

// will return all departments
$provider->findAllRegions();
```

###  Health Score

31

—

LowBetter than 68% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity21

Limited adoption so far

Community14

Small or concentrated contributor base

Maturity60

Established project with proven stability

 Bus Factor1

Top contributor holds 82.9% 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 ~82 days

Recently: every ~187 days

Total

11

Last Release

3637d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/7d444ecab52ec8712e306979ceba2be619b19114723651b30dd73d10b6c28c1f?d=identicon)[polem](/maintainers/polem)

---

Top Contributors

[![polem](https://avatars.githubusercontent.com/u/379985?v=4)](https://github.com/polem "polem (29 commits)")[![2j0ye](https://avatars.githubusercontent.com/u/600299?v=4)](https://github.com/2j0ye "2j0ye (6 commits)")

### Embed Badge

![Health badge](/badges/polem-departements/health.svg)

```
[![Health](https://phpackages.com/badges/polem-departements/health.svg)](https://phpackages.com/packages/polem-departements)
```

###  Alternatives

[odolbeau/phone-number-bundle

Integrates libphonenumber into your Symfony application

24910.3M11](/packages/odolbeau-phone-number-bundle)[dachcom-digital/formbuilder

Pimcore FormBuilder - create forms easily!

96269.7k](/packages/dachcom-digital-formbuilder)[sylius/addressing-bundle

Addressing and zone management for Symfony applications.

33221.4k3](/packages/sylius-addressing-bundle)[netgen/layouts-core

Netgen Layouts enables you to build and manage complex web pages in a simpler way and with less coding. This is the core of Netgen Layouts, its heart and soul.

3689.4k10](/packages/netgen-layouts-core)[tapp/filament-timezone-field

Filament timezone field.

55276.6k4](/packages/tapp-filament-timezone-field)[mapbender/mapbender

Mapbender library

10117.4k5](/packages/mapbender-mapbender)

PHPackages © 2026

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