PHPackages                             webeweb/gouv-api-library - 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. [API Development](/categories/api)
4. /
5. webeweb/gouv-api-library

ActiveLibrary[API Development](/categories/api)

webeweb/gouv-api-library
========================

Integrate Gouv API with your projects

v2.3.1(3mo ago)217.4k↓36.5%2MITPHPPHP ^7.1|^8.0CI passing

Since Aug 5Pushed 3mo ago1 watchersCompare

[ Source](https://github.com/webeweb/gouv-api-library)[ Packagist](https://packagist.org/packages/webeweb/gouv-api-library)[ Docs](https://github.com/webeweb/gouv-api-library)[ RSS](/packages/webeweb-gouv-api-library/feed)WikiDiscussions master Synced 1mo ago

READMEChangelog (10)Dependencies (8)Versions (15)Used By (0)

gouv-api-library
================

[](#gouv-api-library)

[![Github actions workflow status](https://camo.githubusercontent.com/6d3f1b4644596daf597786195689bb636bdbd2be11728f858fd3fd2c3044e9a9/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f616374696f6e732f776f726b666c6f772f7374617475732f776562657765622f676f75762d6170692d6c6962726172792f6275696c642e796d6c3f7374796c653d666f722d7468652d626164676526636f6c6f72323038384646266c6f676f3d676974687562)](https://github.com/webeweb/gouv-api-library/actions)[![Coveralls](https://camo.githubusercontent.com/5b3f6d85706819ea170f7e9950874221c86f15401f383e730638cb27b3d9caa1/68747470733a2f2f696d672e736869656c64732e696f2f636f766572616c6c732f6769746875622f776562657765622f676f75762d6170692d6c6962726172792f6d61737465722e7376673f7374796c653d666f722d7468652d626164676526636f6c6f723d334635373637266c6f676f3d636f766572616c6c73)](https://coveralls.io/github/webeweb/gouv-api-library?branch=master)[![Packagist version](https://camo.githubusercontent.com/2183a4a4b7093771b97b5c85a8a7b8d98e0727b01d715c69b9b05c2536a76167/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f776562657765622f676f75762d6170692d6c6962726172792e7376673f7374796c653d666f722d7468652d626164676526636f6c6f723d463238443141266c6f676f3d7061636b6167697374)](https://packagist.org/packages/webeweb/gouv-api-library)[![Packagist license](https://camo.githubusercontent.com/a1d59243c353cbc464b3c7afa41b3373f8c369fafecfc83b295191b0d1776b9e/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f6c2f776562657765622f676f75762d6170692d6c6962726172792e7376673f7374796c653d666f722d7468652d626164676526636f6c6f72463238443141266c6f676f3d646174613a696d6167652f7376672b786d6c3b6261736536342c50484e325a79423462577875637a30696148523063446f764c336433647935334d793576636d63764d6a41774d43397a646d636949475a7062477739496d3576626d556949484e30636d39725a54306949305a4752694967646d6c6c64304a76654430694d4341774944493049444930496a3438634746306143427a64484a766132557462476c755a574e6863443069636d3931626d516949484e30636d39725a5331736157356c616d3970626a3069636d3931626d516949484e30636d39725a53313361575230614430694d6949675a44306962544d674e69417a494446744d4341774c544d674f5745314c6a41774d6941314c6a41774d694177494441674d4341324c6a41774d534177545459674e32777a49446c4e4e694133624459744d6d3032494449674d7930786253307a494445744d794135595455754d444179494455754d444179494441674d434177494459754d4441784944424e4d5467674e32777a49446c744c544d744f5330324c544a744d433079646a4a744d4341784e6c5931625441674d545a494f57307a4944426f4d794976506a777663335a6e50673d3d)](./LICENSE)

Integrate Gouv API with your projects.

Includes:

- [API Adresse](https://adresse.data.gouv.fr/api-doc/adresse)
- [API Géo](https://api.gouv.fr/documentation/api-geo)
- [API Sirene](https://entreprise.data.gouv.fr/api_doc/sirene)
- [Jours fériés](https://api.gouv.fr/documentation/jours-feries)

Provides:

- [webeweb/geo-json-library](https://github.com/webeweb/geo-json-library)

If you like this package, pay me a beer (or a coffee) [![paypal.me](https://camo.githubusercontent.com/211f28ae88a666754907ff7d47d954e884272bf74a7ba304b8291a175b253125/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f70617970616c2e6d652d776562657765622d3030333038372e7376673f7374796c653d666c61742d737175617265266c6f676f3d70617970616c)](https://www.paypal.me/webeweb)

Compatibility
-------------

[](#compatibility)

[![PHP](https://camo.githubusercontent.com/6be54512d1d52478a6a23109d9d4ca940390c804b23c36041ccf0b43d39d48e4/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f7068702d762f776562657765622f676f75762d6170692d6c6962726172792e7376673f7374796c653d666f722d7468652d626164676526636f6c6f723d373737424234266c6f676f3d706870)](http://php.net)

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

[](#installation)

Open a command console, enter your project directory and execute the following command to download the latest stable version of this package:

```
composer require webeweb/gouv-api-library
```

This command requires you to have Composer installed globally, as explained in the [installation chapter](https://getcomposer.org/doc/00-intro.md) of the Composer documentation.

Usage
-----

[](#usage)

Read the [documentation](doc/index.md). You can also consult or execute sample scripts into dev folder.

Testing
-------

[](#testing)

To test the package, is better to clone this repository on your computer. Open a command console and execute the following commands to download the latest stable version of this package:

```
git clone https://github.com/webeweb/gouv-api-library.git
cd gouv-api-library
composer install
```

Once all required libraries are installed then do:

```
vendor/bin/phpunit
```

License
-------

[](#license)

`gouv-api-library` is released under the MIT License. See the bundled [LICENSE](LICENSE)file for details.

Donate
------

[](#donate)

If you like this work, please consider donating at [![paypal.me](https://camo.githubusercontent.com/211f28ae88a666754907ff7d47d954e884272bf74a7ba304b8291a175b253125/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f70617970616c2e6d652d776562657765622d3030333038372e7376673f7374796c653d666c61742d737175617265266c6f676f3d70617970616c)](https://www.paypal.me/webeweb)

###  Health Score

51

—

FairBetter than 96% of packages

Maintenance82

Actively maintained with recent releases

Popularity30

Limited adoption so far

Community11

Small or concentrated contributor base

Maturity67

Established project with proven stability

 Bus Factor1

Top contributor holds 99.8% 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 ~155 days

Recently: every ~174 days

Total

14

Last Release

95d ago

Major Versions

v1.4.1 → v2.0.02024-03-17

PHP version history (2 changes)v1.0.0-alphaPHP ^5.6|^7.0

v1.0.0PHP ^7.1|^8.0

### Community

Maintainers

![](https://www.gravatar.com/avatar/3af0f8a26f2253921537f363ec984cd5a459cf3f0b3cec0bc70bdb8d8c723612?d=identicon)[webeweb](/maintainers/webeweb)

---

Top Contributors

[![webeweb](https://avatars.githubusercontent.com/u/32354830?v=4)](https://github.com/webeweb "webeweb (407 commits)")[![johanmartinkosmos](https://avatars.githubusercontent.com/u/109090601?v=4)](https://github.com/johanmartinkosmos "johanmartinkosmos (1 commits)")

---

Tags

adresseapicalendriergeogouvlibraryphpwebewebapilibrarywebewebgouv

###  Code Quality

TestsPHPUnit

Static AnalysisPHPStan

Type Coverage Yes

### Embed Badge

![Health badge](/badges/webeweb-gouv-api-library/health.svg)

```
[![Health](https://phpackages.com/badges/webeweb-gouv-api-library/health.svg)](https://phpackages.com/packages/webeweb-gouv-api-library)
```

###  Alternatives

[theodo-group/llphant

LLPhant is a library to help you build Generative AI applications.

1.5k311.5k5](/packages/theodo-group-llphant)[temporal/sdk

Temporal SDK

4002.2M18](/packages/temporal-sdk)[checkout/checkout-sdk-php

Checkout.com SDK for PHP

553.3M7](/packages/checkout-checkout-sdk-php)[webeweb/pexels-library

Integrate Pexels API with your projects

1043.9k1](/packages/webeweb-pexels-library)[webeweb/smsmode-library

Integrate sMsmode API with your projects

1022.2k1](/packages/webeweb-smsmode-library)[bushlanov-dev/max-bot-api-client-php

Max Bot API Client library

281.6k](/packages/bushlanov-dev-max-bot-api-client-php)

PHPackages © 2026

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