PHPackages                             nspehler/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. nspehler/laravel-insee

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

nspehler/laravel-insee
======================

Lookup SIREN and SIRET numbers from Laravel

83125PHP

Since Jan 23Pushed 7y ago1 watchersCompare

[ Source](https://github.com/NSpehler/laravel-insee)[ Packagist](https://packagist.org/packages/nspehler/laravel-insee)[ RSS](/packages/nspehler-laravel-insee/feed)WikiDiscussions master Synced yesterday

READMEChangelogDependenciesVersions (1)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

24

—

LowBetter than 32% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity20

Limited adoption so far

Community10

Small or concentrated contributor base

Maturity38

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/fc937abd10098786abe2e386d22b4962495e5481ed85c181ace61594d90a23fb?d=identicon)[NSpehler](/maintainers/NSpehler)

---

Top Contributors

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

---

Tags

inseelaravelsirensiret

### Embed Badge

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

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

PHPackages © 2026

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