PHPackages                             kislayphp/discovery - 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. kislayphp/discovery

ActivePhp-ext

kislayphp/discovery
===================

High-performance C++ PHP extension providing service discovery and registration for PHP microservices

0.0.6(2mo ago)026Apache-2.0ShellPHP &gt;=8.2CI failing

Since Feb 21Pushed 2mo agoCompare

[ Source](https://github.com/KislayPHP/discovery)[ Packagist](https://packagist.org/packages/kislayphp/discovery)[ Docs](https://github.com/KislayPHP/discovery)[ RSS](/packages/kislayphp-discovery/feed)WikiDiscussions main Synced 1mo ago

READMEChangelogDependenciesVersions (7)Used By (0)

KislayDiscovery
===============

[](#kislaydiscovery)

> Thin service registry for KislayPHP. Register instances, track health, and resolve healthy URLs without embedding business logic.

[![PHP Version](https://camo.githubusercontent.com/5fe05c705bf034839bda7651781e4d0a9d42f4a840478ca5e343873a0361bb89/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f5048502d382e322b2d626c75652e737667)](https://php.net)[![License](https://camo.githubusercontent.com/109222cb0d1f59ed2e77b56722653623fa45f93e2bb201a6eef8561d26a52185/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f4c6963656e73652d417061636865253230322e302d677265656e2e737667)](LICENSE)

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

[](#installation)

**Via PIE (recommended):**

```
pie install kislayphp/discovery:0.0.7
```

Add to `php.ini`:

```
extension=kislayphp_discovery.so
```

Role In The Stack
-----------------

[](#role-in-the-stack)

Discovery only does:

- register service instances
- update health/status
- resolve service name to healthy instance URL
- expose thin registry HTTP endpoints when running standalone

Discovery does **not** do:

- business logic
- request execution
- JWT handling
- trace mutation

Quick Start
-----------

[](#quick-start)

### Start the registry

[](#start-the-registry)

```
