Skip to content
2.0.0

Update to new Insee API.

You now need to give an API_KEY when instantiating Sirene:
```php
$workplace = (new Sirene(apiKey: 'SUPER-SECRET-API-KEY'))->siret('13000766900018');
echo (string) $workplace->address;
``̀

Check the README for instruction on how to retrieve an API key from the new Insee Portal.

Information: The old API used in versions 1 of this library will be disabled at the end of February 2025.