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 today

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

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

1264d 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.1M159](/packages/algolia-algoliasearch-client-php)[theodo-group/llphant

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

1.7k409.0k6](/packages/theodo-group-llphant)[deeplcom/deepl-php

Official DeepL API Client Library

2607.3M113](/packages/deeplcom-deepl-php)[api-platform/metadata

API Resource-oriented metadata attributes and factories

275.0M218](/packages/api-platform-metadata)[comgate/sdk

Comgate PHP SDK

13373.6k](/packages/comgate-sdk)[wtfzdotnet/php-tmdb-api

PHP wrapper for TMDB (TheMovieDatabase) API v3. Supports two types of approaches, one modelled with repositories, models and factories. And the other by simple array access to RAW data from The Movie Database.

4262.9k](/packages/wtfzdotnet-php-tmdb-api)

PHPackages © 2026

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