routmoute/routmoute-sirene-bundle
A PHP bundle for working with French SIRENE business registry data. Look up companies by SIREN or SIRET, map INSEE records to usable objects, and integrate official enterprise information into your Symfony or PHP application.
composer require routmoute/sirene-bundle. Note the name: this is a Symfony bundle, not a native Laravel package — there is no config/app.php service provider or config/sirene.php publish step you can rely on. Expect to instantiate the underlying client yourself.DependencyInjection/ and Resources/config/services.* files to see which services (HTTP client, authenticator, Sirene client) it wires up, and SireneClient (or similarly named) for the public API surface. Those are the classes you will call from Laravel.client_id / client_secret pair and the OAuth token endpoint. The Sirene API is OAuth2-protected, so the bundle typically exchanges these for a bearer token internally.^1.1.1. The API_URL change in this release matters — if you build against 1.1.0's URL or hardcode an endpoint yourself, you will hit the retired INSEE hostname.SireneServiceProvider that builds the client (credentials from config/services.php, HTTP client from Laravel's or Symfony's) and registers it as a singleton. Expose a thin Sirene facade if you want ergonomics closer to Laravel conventions.remember() around the lookup is usually the whole pattern.RateLimited job middleware is a natural fit), and write results back. Track failures separately so one bad SIREN doesn't poison the batch.API_URL — but that's not cosmetic. It aligns the package with the current INSEE endpoint. Upgrade promptly; if you pinned 1.1.0 or copied the URL into your own config, you'll see connection errors or 404s against the old host.Authorization header.1.1.1 change reflects that. Keep the URL in config so future bumps are a one-line change.How can I help you explore Laravel packages today?