PHPackages                             mmockelyn/laravel-insee - 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. [Utility &amp; Helpers](/categories/utility)
4. /
5. mmockelyn/laravel-insee

ActiveLibrary[Utility &amp; Helpers](/categories/utility)

mmockelyn/laravel-insee
=======================

Lookup SIREN and SIRET numbers from Laravel

0255PHP

Since Jan 23Pushed 1y agoCompare

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

READMEChangelogDependenciesVersions (2)Used By (0)

Laravel Insee
=============

[](#laravel-insee)

This package is a Laravel wrapper allowing you to lookup SIREN and SIRET numbers of French businesses and nonprofit associations, attributed by [Insee](https://insee.fr/en/accueil) (Institut national de la statistique et des études économiques).

Laravel Insee uses the [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)

You can install this package via Composer:

```
composer require nspehler/laravel-insee
```

If you are using Laravel 5.5 or later, the service provider and facade will be discovered automatically.

On earlier versions, you need to do that manually. You must install the service provider:

```
// config/app.php
'providers' => [
    ...
    NSpehler\LaravelInsee\InseeServiceProvider::class,
];
```

And register an alias for the Insee facade:

```
// config/app.php
'aliases' => [
    ...
    'Insee' => NSpehler\LaravelInsee\Facades\Insee::class,
];
```

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

[](#configuration)

To get started, sign up on  and create a new application. From the "Production Keys" tab, you'll be able to generate your Consumer Key and Consumer Secret.

Make sure to subscribe your new app to the Sirene V3 API to grant it access.

Then, you can add your production keys as environment variables in your `.env` file:

```
INSEE_CONSUMER_KEY=
INSEE_CONSUMER_SECRET=

```

Optionally, you can edit the name of these variables by publishing the configuration file:

```
php artisan vendor:publish --provider="NSpehler\LaravelInsee\InseeServiceProvider" --tag="config"

```

Usage
-----

[](#usage)

Use the `Insee` facade to lookup a SIREN or SIRET number:

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

Credits
-------

[](#credits)

- [Nicolas Spehler](https://nspehler.com)
- [Moon](https://moon.xyz)

Testing
-------

[](#testing)

[![](https://camo.githubusercontent.com/45b8eb4160a073fe5935db73f12408205f5986e0dd35697d92eca67beac35cba/68747470733a2f2f6465762e6c732e6167656e63792f696d672f42726f77736572537461636b2d4c6f676f2e737667)](https://camo.githubusercontent.com/45b8eb4160a073fe5935db73f12408205f5986e0dd35697d92eca67beac35cba/68747470733a2f2f6465762e6c732e6167656e63792f696d672f42726f77736572537461636b2d4c6f676f2e737667)

This project uses [BrowserStack](https://browserstack.com) for cross browser testing. We're grateful for their contribution to the open source community.

License
-------

[](#license)

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

###  Health Score

23

—

LowBetter than 27% of packages

Maintenance27

Infrequent updates — may be unmaintained

Popularity11

Limited adoption so far

Community8

Small or concentrated contributor base

Maturity40

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 60% 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/ca2099d8f158327dfa9189c0eea099af94cd6ca506b80417e6546190358c1914?d=identicon)[mmockelyn](/maintainers/mmockelyn)

---

Top Contributors

[![mmockelyn](https://avatars.githubusercontent.com/u/8116032?v=4)](https://github.com/mmockelyn "mmockelyn (3 commits)")[![NSpehler](https://avatars.githubusercontent.com/u/379186?v=4)](https://github.com/NSpehler "NSpehler (2 commits)")

### Embed Badge

![Health badge](/badges/mmockelyn-laravel-insee/health.svg)

```
[![Health](https://phpackages.com/badges/mmockelyn-laravel-insee/health.svg)](https://phpackages.com/packages/mmockelyn-laravel-insee)
```

PHPackages © 2026

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