PHPackages                             todocoding/siret - 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. todocoding/siret

ActiveProject

todocoding/siret
================

Consulter les numéros SIREN et SIRET depuis Laravel

122PHP

Since Nov 21Pushed 3y ago1 watchersCompare

[ Source](https://github.com/yugnormand/siret)[ Packagist](https://packagist.org/packages/todocoding/siret)[ RSS](/packages/todocoding-siret/feed)WikiDiscussions master Synced 1mo ago

READMEChangelog (1)DependenciesVersions (1)Used By (0)

siret
=====

[](#siret)

Consulter les numéros SIREN et SIRET depuis Laravel

Siret
=====

[](#siret-1)

Ce package est un outil Laravel permettant de consulter les numéros SIREN et SIRET des entreprises et associations à but non lucratif françaises, attribués par [Insee](https://insee.fr/en/accueil) (Institut national de la statistique et des études économiques).

Siret utilise le [Sirene V3](https://api.insee.fr/catalogue/site/themes/wso2/subthemes/insee/pages/item-info.jag?name=Sirene&version=V3&provider=insee) API.

Installation
------------

[](#installation)

Vous pouvez installer ce paquet via Composer :

```
composer require todocoding/siret
```

Configuration
-------------

[](#configuration)

Pour commencer, inscrivez-vous sur  et créez une nouvelle application. Dans l'onglet "Production Keys", vous pourrez générer votre Consumer Key et votre Consumer Secret.

Veillez à abonner votre nouvelle application à l'API Sirene V3 pour lui donner accès.

Ensuite, vous pouvez ajouter vos clés de production en tant que variables d'environnement dans votre système. `.env`:

```
INSEE_CONSUMER_KEY=
INSEE_CONSUMER_SECRET=

```

En option, vous pouvez modifier le nom de ces variables en publiant le fichier de configuration:

```
php artisan vendor:publish --provider="Todocoding\Siret\InseeServiceProvider" --tag="config"

```

Usage
-----

[](#usage)

Utilisez le `Insee` facade pour rechercher un numéro SIREN ou SIRET :

```
use Todocoding\Siret\Facades\Insee;

Insee::siren('840 745 111');
Insee::siret('840 745 111 00012');
```

License
-------

[](#license)

The MIT License (MIT). Please see [License File](LICENSE) for more information.

###  Health Score

16

—

LowBetter than 5% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity8

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity24

Early-stage or recently created project

 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.

### Community

Maintainers

![](https://www.gravatar.com/avatar/f9eb66babcf9f6afa1fb3b0093f84f1d0944080daca023d6308a20be8746c4a3?d=identicon)[yugnormand](/maintainers/yugnormand)

---

Top Contributors

[![yugnormand](https://avatars.githubusercontent.com/u/46629234?v=4)](https://github.com/yugnormand "yugnormand (6 commits)")

---

Tags

todocoding

### Embed Badge

![Health badge](/badges/todocoding-siret/health.svg)

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

PHPackages © 2026

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