PHPackages                             yoanbernabeu/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. yoanbernabeu/recherche-entreprises-bundle

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

yoanbernabeu/recherche-entreprises-bundle
=========================================

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

v0.1.1(5mo ago)332[2 PRs](https://github.com/yoanbernabeu/recherche-entreprises-bundle/pulls)MITPHPCI passing

Since Oct 27Pushed 5mo agoCompare

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

READMEChangelog (2)Dependencies (7)Versions (3)Used By (0)

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

[](#recherche-entreprises-bundle)

[![Tests](https://github.com/yoanbernabeu/recherche-entreprises-bundle/actions/workflows/tests.yml/badge.svg)](https://github.com/yoanbernabeu/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 yoanbernabeu/recherche-entreprises-bundle
```

### ⚙️ Configuration (optionnelle)

[](#️-configuration-optionnelle)

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

### 🚀 Utilisation

[](#-utilisation)

#### Dans un Contrôleur

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

```
use YoanBernabeu\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
- `Dirigeant` : Données sur le ou les dirigeants

### 🧪 Tests

[](#-tests)

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

### 📝 Licence

[](#-licence)

[MIT](LICENSE)

###  Health Score

29

—

LowBetter than 60% of packages

Maintenance70

Regular maintenance activity

Popularity8

Limited adoption so far

Community7

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

Every ~23 days

Total

2

Last Release

174d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/21f6c1e090b5d45bb8bd5569f7779bde35d19fd06844327ed0d369c3544fa2e8?d=identicon)[yoanbernabeu](/maintainers/yoanbernabeu)

---

Top Contributors

[![yoanbernabeu](https://avatars.githubusercontent.com/u/59195351?v=4)](https://github.com/yoanbernabeu "yoanbernabeu (6 commits)")

---

Tags

symfonysymfony-bundleapisymfonybundleSirensireneentreprise

###  Code Quality

TestsPHPUnit

### Embed Badge

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

```
[![Health](https://phpackages.com/badges/yoanbernabeu-recherche-entreprises-bundle/health.svg)](https://phpackages.com/packages/yoanbernabeu-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)
