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

ActivePhp-ext[API Development](/categories/api)

kislayphp/gateway
=================

High-performance C++ PHP extension providing API gateway functionality with load balancing and routing for PHP microservices

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

Since Feb 21Pushed 1mo agoCompare

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

READMEChangelogDependenciesVersions (7)Used By (0)

KislayGateway
=============

[](#kislaygateway)

> Edge-only HTTP gateway for KislayPHP services. Route, apply lightweight edge policy, and forward requests without duplicating Core runtime behavior.

[![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/gateway:0.0.9
```

Add to `php.ini`:

```
extension=kislayphp_gateway.so
```

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

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

Gateway is the edge layer only.

- Gateway: route, optional edge auth, rate limit, circuit break, forward
- Core: request lifecycle, JWT state, tracing, async HTTP, business logic
- Discovery: resolve service name to healthy instance URL

Gateway does **not** reimplement Core's JWT state model or async HTTP engine.

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

[](#quick-start)

```
