PHPackages                             jonas18121/recherche-entreprises-bundle - 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. [API Development](/categories/api)
4. /
5. jonas18121/recherche-entreprises-bundle

ActiveSymfony-bundle[API Development](/categories/api)

jonas18121/recherche-entreprises-bundle
=======================================

Bundle Symfony pour l'API Recherche d'entreprises du gouvernement français

v0.1.0(4mo ago)12MITHTMLCI passing

Since Jan 4Pushed 4mo agoCompare

[ Source](https://github.com/jonas18121/recherche-entreprises-bundle)[ Packagist](https://packagist.org/packages/jonas18121/recherche-entreprises-bundle)[ RSS](/packages/jonas18121-recherche-entreprises-bundle/feed)WikiDiscussions master Synced 1mo ago

READMEChangelog (1)Dependencies (7)Versions (4)Used By (0)

Recherche Entreprises Bundle
----------------------------

[](#recherche-entreprises-bundle)

[![Tests](https://github.com/jonas18121/recherche-entreprises-bundle/actions/workflows/tests.yml/badge.svg)](https://github.com/jonas18121/recherche-entreprises-bundle/actions/workflows/tests.yml)

Bundle Symfony pour l'[API Recherche d'entreprises](https://recherche-entreprises.api.gouv.fr/) du gouvernement français.

### 📦 Installation

[](#-installation)

```
composer require jonas18121/recherche-entreprises-bundle
```

### ⚙️ Configuration (optionnelle)

[](#️-configuration-optionnelle)

```
# config/packages/jonas18121_recherche_entreprises.yaml
jonas18121_recherche_entreprises:
    timeout: 10  # Timeout en secondes (défaut: 10)
```

### 🚀 Utilisation

[](#-utilisation)

#### Dans un Contrôleur

[](#dans-un-contrôleur)

```
use Jonas18121\RechercheEntreprisesBundle\Client\EntrepriseSearchClientInterface;

public function __construct(
    private EntrepriseSearchClientInterface $entrepriseClient
) {}

public function search(): Response
{
    $result = $this->entrepriseClient->search('carrefour');

    foreach ($result->results as $entreprise) {
        echo $entreprise->nomComplet . ' - ' . $entreprise->siren;
    }
}
```

#### Recherche par SIREN

[](#recherche-par-siren)

```
$entreprise = $this->entrepriseClient->findBySiren('652014051');

if ($entreprise) {
    echo $entreprise->nomComplet;
}
```

#### Commande Console

[](#commande-console)

```
# Recherche simple
php bin/console recherche-entreprise:search carrefour

# Par SIREN (détails complets)
php bin/console recherche-entreprise:search 652014051 --siren
```

### 📊 Modèles

[](#-modèles)

- `SearchResult` : Résultat paginé
- `Entreprise` : Données d'entreprise
- `Siege` : Établissement siège

### 🧪 Tests

[](#-tests)

```
vendor/bin/phpunit --testdox
```

### 📝 Licence

[](#-licence)

MIT

###  Health Score

29

—

LowBetter than 60% of packages

Maintenance76

Regular maintenance activity

Popularity4

Limited adoption so far

Community6

Small or concentrated contributor base

Maturity26

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.

###  Release Activity

Cadence

Unknown

Total

1

Last Release

129d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/3a9a646a133002423d8e22884f1ddc6369a9624a9bf4db1c90bba0f74a8fc4c4?d=identicon)[jonas18121](/maintainers/jonas18121)

---

Top Contributors

[![jonas18121](https://avatars.githubusercontent.com/u/44227838?v=4)](https://github.com/jonas18121 "jonas18121 (10 commits)")

---

Tags

symfonysymfony-bundleapisymfonybundleSirensireneentreprise

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/jonas18121-recherche-entreprises-bundle/health.svg)

```
[![Health](https://phpackages.com/badges/jonas18121-recherche-entreprises-bundle/health.svg)](https://phpackages.com/packages/jonas18121-recherche-entreprises-bundle)
```

###  Alternatives

[sylius/sylius

E-Commerce platform for PHP, based on Symfony framework.

8.4k5.6M651](/packages/sylius-sylius)

PHPackages © 2026

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