PHPackages                             steph612/entreprise-search-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. steph612/entreprise-search-bundle

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

steph612/entreprise-search-bundle
=================================

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

v0.2.0(3mo ago)01MITPHPCI passing

Since Mar 21Pushed 3mo agoCompare

[ Source](https://github.com/Steph612/entreprise-search-bundle)[ Packagist](https://packagist.org/packages/steph612/entreprise-search-bundle)[ RSS](/packages/steph612-entreprise-search-bundle/feed)WikiDiscussions main Synced 3w ago

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

Recherche Entreprises Bundle
============================

[](#recherche-entreprises-bundle)

[![Tests](https://github.com/Steph612/entreprise-search-bundle/actions/workflows/tests.yml/badge.svg)](https://github.com/Steph612/entreprise-search-bundle/actions/workflows/tests.yml)

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

📦 Installation
--------------

[](#-installation)

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

⚙️ Configuration (optionnelle)
------------------------------

[](#️-configuration-optionnelle)

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

🚀 Utilisation
-------------

[](#-utilisation)

### Dans un Contrôleur

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

```
use Steph612\EntrepriseSearchBundle\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 steph612:search-entreprise carrefour

# Par SIREN (détails complets)
php bin/console steph612:search-entreprise 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

30

—

LowBetter than 62% of packages

Maintenance82

Actively maintained with recent releases

Popularity1

Limited adoption so far

Community8

Small or concentrated contributor base

Maturity27

Early-stage or recently created project

 Bus Factor1

Top contributor holds 80% 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 ~0 days

Total

3

Last Release

97d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/59c6d830d8f6ce837160dda47de930ed63f5c33be0276bde791d96a981b5fd20?d=identicon)[Steph612](/maintainers/Steph612)

---

Top Contributors

[![WebEngineerBe](https://avatars.githubusercontent.com/u/26480436?v=4)](https://github.com/WebEngineerBe "WebEngineerBe (4 commits)")[![Steph612](https://avatars.githubusercontent.com/u/121558329?v=4)](https://github.com/Steph612 "Steph612 (1 commits)")

---

Tags

symfonysymfony-bundleapisymfonybundleSirensireneentreprise

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/steph612-entreprise-search-bundle/health.svg)

```
[![Health](https://phpackages.com/badges/steph612-entreprise-search-bundle/health.svg)](https://phpackages.com/packages/steph612-entreprise-search-bundle)
```

PHPackages © 2026

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