PHPackages                             jeromeklam/freeapi - 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. jeromeklam/freeapi

ActiveLibrary[API Development](/categories/api)

jeromeklam/freeapi
==================

Free PHP API

1.0.2(3y ago)0102MITPHPPHP &gt;=7.0

Since Jan 14Pushed 3y ago1 watchersCompare

[ Source](https://github.com/jeromeklam/freeapi)[ Packagist](https://packagist.org/packages/jeromeklam/freeapi)[ Docs](http://github.com/jeromeklam)[ RSS](/packages/jeromeklam-freeapi/feed)WikiDiscussions main Synced 1w ago

READMEChangelog (3)Dependencies (13)Versions (4)Used By (0)

freeapi
=======

[](#freeapi)

API Sirene V3
-------------

[](#api-sirene-v3)

Intégration rapide de l'API Sirene. Pour l'utiliser il faut avoir une application enregistrée.

Documentation :

### Installation

[](#installation)

```
    composer require jeromeklam/freeapi

```

Il faut donc un compte et une pplication enregistrée. Les jetons générés sont stockés sur disque et ont une durée de validité jusqu'à minuit de la journée en cours.

La limite des appels est documentée ici :

### Exemples d'utilisation

[](#exemples-dutilisation)

```
    $api_cfg = [
        'key'    => '',
        'secret' => '',
        'path'   => ''
    ];
    $api     = \FreeAPI\INSEE\Sirene\Siret::getInstance($api_cfg);
    $result  = $api->find(['nom' => '*zoo*', 'ville' => 'amneville']);
    foreach ($result as $unEtablissement) {
        ...
    }

```

Les éléments pour la recheche sont :

- Pour les appels siren :
    - siren
    - nom
- Pour les appels siret :
    - siren
    - siret
    - nom
    - cp
    - ville
    - sigle

Il est possible de rechercher avec les caractères suivants :

- "\*zoo" pour se termine par zoo
- "zoo\*" pour commence par zoo
- "*zoo*" pour contient zoo
- "zoo~" pour ressemble à zoo, (une explication détaillée ici : [https://fr.wikipedia.org/wiki/Distance\_de\_Levenshtein](https://fr.wikipedia.org/wiki/Distance_de_Levenshtein))

###  Health Score

22

—

LowBetter than 21% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity9

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity44

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 100% 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 ~1 days

Total

3

Last Release

1309d ago

Major Versions

0.0.1 → 1.0.02023-01-14

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/11587576?v=4)[KLAM](/maintainers/jeromeklam)[@jeromeklam](https://github.com/jeromeklam)

---

Top Contributors

[![jeromeklam](https://avatars.githubusercontent.com/u/11587576?v=4)](https://github.com/jeromeklam "jeromeklam (3 commits)")

---

Tags

phpapifreeINSEE

###  Code Quality

TestsPHPUnit

Code StylePHP\_CodeSniffer

### Embed Badge

![Health badge](/badges/jeromeklam-freeapi/health.svg)

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

###  Alternatives

[algolia/algoliasearch-client-php

API powering the features of Algolia.

69735.8M179](/packages/algolia-algoliasearch-client-php)[theodo-group/llphant

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

1.7k441.1k8](/packages/theodo-group-llphant)[elgg/elgg

Elgg is an award-winning social networking engine, delivering the building blocks that enable businesses, schools, universities and associations to create their own fully-featured social networks and applications.

1.7k17.3k100](/packages/elgg-elgg)[api-platform/metadata

API Resource-oriented metadata attributes and factories

275.5M254](/packages/api-platform-metadata)[bitrix24/b24phpsdk

An official PHP library for the Bitrix24 REST API

10250.3k6](/packages/bitrix24-b24phpsdk)[comgate/sdk

Comgate PHP SDK

13388.6k](/packages/comgate-sdk)

PHPackages © 2026

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