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

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

philippe2463/recherche-entreprises-bundle
=========================================

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

v0.1.0(4mo ago)01MITPHPCI failing

Since Feb 18Pushed 4mo agoCompare

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

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

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

[](#recherche-entreprises-bundle)

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

### ⚙ Configuration (optionnelle)

[](#-configuration-optionnelle)

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

### 🚀 Utilisation

[](#-utilisation)

#### Dans un Contrôleur

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

```
use Philippe2463\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

28

—

LowBetter than 52% of packages

Maintenance75

Regular maintenance activity

Popularity1

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

135d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/967be1e36fe923c88d5ffe41672b4af232a00b71b4eef1a6dd7d03068e4f80f9?d=identicon)[philippe2463](/maintainers/philippe2463)

---

Top Contributors

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

---

Tags

symfonysymfony-bundleapisymfonybundleSirensireneentreprise

###  Code Quality

TestsPHPUnit

### Embed Badge

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

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

PHPackages © 2026

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