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(6y ago)01.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 3w 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

26

—

LowBetter than 41% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity16

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

2545d 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

[tencentcloud/tencentcloud-sdk-php

TencentCloudApi php sdk

3661.2M46](/packages/tencentcloud-tencentcloud-sdk-php)[files.com/files-php-sdk

Files.com PHP SDK

2478.1k](/packages/filescom-files-php-sdk)[clicksend/clicksend-php

301.6M11](/packages/clicksend-clicksend-php)[eslazarev/wildberries-sdk

Wildberries OpenAPI clients (generated).

252.5k](/packages/eslazarev-wildberries-sdk)

PHPackages © 2026

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