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 1mo 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 22% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity9

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity43

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

1218d ago

Major Versions

0.0.1 → 1.0.02023-01-14

### Community

Maintainers

![](https://www.gravatar.com/avatar/040ac275a7573bc9052579b71dbb3389b4fc6e569ac4296e40529b4c230c548d?d=identicon)[jeromeklam](/maintainers/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.

69333.0M114](/packages/algolia-algoliasearch-client-php)[theodo-group/llphant

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

1.5k311.5k5](/packages/theodo-group-llphant)[ryanwinchester/netsuite-php

NetSuite PHP API wrapper

2012.6M5](/packages/ryanwinchester-netsuite-php)[comgate/sdk

Comgate PHP SDK

13327.8k](/packages/comgate-sdk)[rubix/server

Deploy your Rubix ML models to production with scalable stand-alone inference servers.

632.3k](/packages/rubix-server)

PHPackages © 2026

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