PHPackages                             ayctor/geoapifr - 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. ayctor/geoapifr

ActiveLibrary[API Development](/categories/api)

ayctor/geoapifr
===============

Small PHP client library for geo api fr

0.0.2(7y ago)11.9kMITPHPPHP &gt;=7.0.0

Since Apr 24Pushed 2y ago2 watchersCompare

[ Source](https://github.com/Ayctor/GeoApiFr)[ Packagist](https://packagist.org/packages/ayctor/geoapifr)[ Docs](https://github.com/Ayctor/GeoApiFr)[ RSS](/packages/ayctor-geoapifr/feed)WikiDiscussions master Synced 1w ago

READMEChangelog (1)Dependencies (2)Versions (3)Used By (0)

GeoApiFr
========

[](#geoapifr)

It is a small php client library to use the [GéoAPI](https://api.gouv.fr/api/geoapi.html).

See [official documentation](https://docs.geo.api.gouv.fr/) for availables methods.

### Instalation

[](#instalation)

```
composer require ayctor/geoapifr

```

### Usage

[](#usage)

```
use GeoApiFr\GeoApiFr;

// Create instance

$instance = new GeoApiFr;

$regions = $instance->get('regions');

// OR

$versailles = GeoApiFr::getInstance()->get('communes', ['nom' => 'versailles']);
```

### Errors

[](#errors)

It will return an empty array if the request came up empty.

Return `GuzzleHttp\Exception\RequestException` object if error 400.

###  Health Score

27

—

LowBetter than 46% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity17

Limited adoption so far

Community12

Small or concentrated contributor base

Maturity49

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 50% 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 ~801 days

Total

2

Last Release

2590d ago

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/157569?v=4)[Erwan Guillon](/maintainers/erwanguillon)[@ErwanGuillon](https://github.com/ErwanGuillon)

![](https://avatars.githubusercontent.com/u/6543024?v=4)[Damien Couteillou](/maintainers/damien-couteillou)[@damien-couteillou](https://github.com/damien-couteillou)

---

Top Contributors

[![ErwanGuillon](https://avatars.githubusercontent.com/u/157569?v=4)](https://github.com/ErwanGuillon "ErwanGuillon (2 commits)")[![axeldotdev](https://avatars.githubusercontent.com/u/10605697?v=4)](https://github.com/axeldotdev "axeldotdev (1 commits)")[![khalidayc](https://avatars.githubusercontent.com/u/36501106?v=4)](https://github.com/khalidayc "khalidayc (1 commits)")

---

Tags

apigeofranceregionsayctordepartementscommunes

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/ayctor-geoapifr/health.svg)

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

###  Alternatives

[eslazarev/wildberries-sdk

Wildberries OpenAPI clients (generated).

293.1k](/packages/eslazarev-wildberries-sdk)[tencentcloud/tencentcloud-sdk-php

TencentCloudApi php sdk

3661.3M49](/packages/tencentcloud-tencentcloud-sdk-php)[resend/resend-php

Resend PHP library.

608.3M51](/packages/resend-resend-php)[files.com/files-php-sdk

Files.com PHP SDK

2482.9k](/packages/filescom-files-php-sdk)[checkout/checkout-sdk-php

Checkout.com SDK for PHP

563.6M16](/packages/checkout-checkout-sdk-php)[scriptdevelop/whatsapp-manager

Paquete para manejo de WhatsApp Business API en Laravel

793.9k](/packages/scriptdevelop-whatsapp-manager)

PHPackages © 2026

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