PHPackages                             thelia/siret-management-module - 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. thelia/siret-management-module

ActiveThelia-module[Utility &amp; Helpers](/categories/utility)

thelia/siret-management-module
==============================

Module allowing the management of siret numbers for customers

1.1.0(6mo ago)05825LGPL-3.0-or-laterPHPCI passing

Since Jun 10Pushed 6mo ago6 watchersCompare

[ Source](https://github.com/thelia-modules/SiretManagement)[ Packagist](https://packagist.org/packages/thelia/siret-management-module)[ RSS](/packages/thelia-siret-management-module/feed)WikiDiscussions main Synced 1mo ago

READMEChangelog (10)Dependencies (2)Versions (18)Used By (0)

Siret Management
================

[](#siret-management)

Manage the siret number and Intra Community VAT number for your customers, linked with INSEE API to check SIRET and SIREN validity, and provide automatic illing of address fields.

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

[](#installation)

### Composer

[](#composer)

Add it in your main thelia composer.json file

```
composer require thelia/siret-management-module

```

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

[](#configuration)

You need to set public consumer key and secret in backOffice of SiretManagement module if you want to use the INSEE API to check SIRET numbers anbd get company information.

To create an account and get the keys, got to [https://api.insee.fr/catalogue/site/themes/wso2/subthemes/insee/pages/item-info.jag?name=Sirene&amp;version=V3&amp;provider=insee](https://api.insee.fr/catalogue/site/themes/wso2/subthemes/insee/pages/item-info.jag?name=Sirene&version=V3&provider=insee)

Template integration
--------------------

[](#template-integration)

To display input fields to your customer, you have to change register.html and account-update.html.

### register.html

[](#registerhtml)

In register.html, add the following hook call :

`{hook name="siret.check" mode='create'}`

To allow automatic filling of address fields, add the following hook call :

`{hook name="siret.js"}`

### account-update.html

[](#account-updatehtml)

In account-update.html, add the following hook call :

`{hook name="siret.check" mode='update'}`

The siret.js hook call is not required, as the address fields are not present in the account-update.html file.

A template is provided for default and modern template.

This module has no dependency on JQuery.

You can override the siret.html file in your own template for a custom integration.

### Suggestion for `default` template

[](#suggestion-for-default-template)

#### In register.html

[](#in-registerhtml)

```

                {hook name="siret.check" mode='create'}

```

```
{block name="javascript-initialization"}
{hook name="register.javascript-initialization"}
{hook name="siret.js"}
{/block}

```

#### In account-update.html

[](#in-account-updatehtml)

```

          {hook name="siret.check" mode='update'}

          {form_field field="newsletter"}

```

### Suggestion for `modern` template

[](#suggestion-for-modern-template)

#### In register.html

[](#in-registerhtml-1)

```

                {hook name="siret.check" mode='update'}

                {form_field field="newsletter"}

```

#### In account-update.html

[](#in-account-updatehtml-1)

```
{block name="javascript" append}
  {encore_entry_script_tags entry="register"}
  {hook name="siret.js"}
{/block}

```

```

      {hook name="siret.check" mode='create'}

```

###  Health Score

42

—

FairBetter than 90% of packages

Maintenance68

Regular maintenance activity

Popularity16

Limited adoption so far

Community20

Small or concentrated contributor base

Maturity56

Maturing project, gaining track record

 Bus Factor2

2 contributors hold 50%+ of commits

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.

###  Release Activity

Cadence

Every ~83 days

Recently: every ~134 days

Total

16

Last Release

187d ago

Major Versions

0.0.1 → 1.0.02023-09-29

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/2196919?v=4)[thelia](/maintainers/thelia)[@thelia](https://github.com/thelia)

---

Top Contributors

[![lopes-vincent](https://avatars.githubusercontent.com/u/6057206?v=4)](https://github.com/lopes-vincent "lopes-vincent (7 commits)")[![zawaze](https://avatars.githubusercontent.com/u/37273643?v=4)](https://github.com/zawaze "zawaze (4 commits)")[![ArthurLashermes](https://avatars.githubusercontent.com/u/76913541?v=4)](https://github.com/ArthurLashermes "ArthurLashermes (2 commits)")[![anoziere](https://avatars.githubusercontent.com/u/118798868?v=4)](https://github.com/anoziere "anoziere (1 commits)")[![NicolasBarbey](https://avatars.githubusercontent.com/u/26166378?v=4)](https://github.com/NicolasBarbey "NicolasBarbey (1 commits)")[![ThomasDaSilva](https://avatars.githubusercontent.com/u/97163246?v=4)](https://github.com/ThomasDaSilva "ThomasDaSilva (1 commits)")[![thomas-dsm](https://avatars.githubusercontent.com/u/84772220?v=4)](https://github.com/thomas-dsm "thomas-dsm (1 commits)")[![mdevaud](https://avatars.githubusercontent.com/u/15226493?v=4)](https://github.com/mdevaud "mdevaud (1 commits)")[![julescournut](https://avatars.githubusercontent.com/u/26310511?v=4)](https://github.com/julescournut "julescournut (1 commits)")[![leanormandon](https://avatars.githubusercontent.com/u/30038624?v=4)](https://github.com/leanormandon "leanormandon (1 commits)")

### Embed Badge

![Health badge](/badges/thelia-siret-management-module/health.svg)

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

PHPackages © 2026

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