PHPackages                             hamidou-ie/symfony-eureka - 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. [HTTP &amp; Networking](/categories/http)
4. /
5. hamidou-ie/symfony-eureka

ActiveSymfony-bundle[HTTP &amp; Networking](/categories/http)

hamidou-ie/symfony-eureka
=========================

Symfony bundle to register/heartbeat services into Netflix Eureka

0.1.1(2mo ago)134MITPHPPHP &gt;=8.2CI passing

Since Feb 24Pushed 2mo agoCompare

[ Source](https://github.com/hamidou-ie/symfony-eureka)[ Packagist](https://packagist.org/packages/hamidou-ie/symfony-eureka)[ RSS](/packages/hamidou-ie-symfony-eureka/feed)WikiDiscussions main Synced 1mo ago

READMEChangelogDependencies (8)Versions (4)Used By (0)

hamidou-ie/symfony-eureka
=========================

[](#hamidou-iesymfony-eureka)

Eureka (Spring Cloud Netflix) client packaged as a **Symfony Bundle**.

This bundle lets you:

- register your service instance in Eureka (`register`)
- send a one-shot heartbeat (`heartbeat`)
- deregister your instance (`deregister`)
- do **service discovery** (`fetchInstance`, `fetchInstances`)
- customize how an instance is picked via a **discovery strategy** (default: random)
- use a **fallback local registry/cache** via an `InstanceProvider` when Eureka is unavailable

> Note: this package provides a **Eureka** client.

---

Requirements
------------

[](#requirements)

- PHP `>= 8.2`
- Symfony `^6.4 || ^7.0 || ^8.0`
- A running Eureka server (e.g. Spring Cloud Netflix Eureka)

HTTP transport is provided by `symfony/http-client`.

---

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

[](#installation)

```
composer require hamidou-ie/symfony-eureka
```

### Enable the bundle

[](#enable-the-bundle)

If Symfony Flex does not enable it automatically, add it to `config/bundles.php`:

```
