PHPackages                             therealgambo/kong-php - 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. therealgambo/kong-php

ActiveLibrary[API Development](/categories/api)

therealgambo/kong-php
=====================

A PHP7 compliant library for interacting with the Kong Gateway Admin API.

v0.13.0.1(8y ago)139.7k6MITPHPPHP &gt;=7.0

Since Mar 23Pushed 8y ago4 watchersCompare

[ Source](https://github.com/therealgambo/kong-php)[ Packagist](https://packagist.org/packages/therealgambo/kong-php)[ RSS](/packages/therealgambo-kong-php/feed)WikiDiscussions master Synced 2d ago

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

kong-php
========

[](#kong-php)

A PHP7 compliant library for interacting with the Kong Gateway Admin API.

Kong Compatibility
------------------

[](#kong-compatibility)

Currently supporting Kong &gt;= 0.10.0

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

[](#requirements)

- [cURL](http://php.net/manual/en/book.curl.php)
- PHP 7.0+

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

[](#installation)

### Using [Composer](https://getcomposer.org)

[](#using-composer)

To install kong-php with Composer, just add the following to your `composer.json` file:

```
{
    "require-dev": {
        "therealgambo/kong-php": "0.10.*"
    }
}
```

or by running the following command:

```
composer require therealgambo/kong-php
```

Usage
-----

[](#usage)

### PHP

[](#php)

Retrieving Kong node information

```
$kong = new \TheRealGambo\Kong\Kong(KONG_URL, KONG_PORT);
$node = $kong->getNodeObject();

print_r($node->getInformation());
```

Retrieving a list of all API's on Kong

```
$kong = new \TheRealGambo\Kong\Kong(KONG_URL, KONG_PORT);
$apis = $kong->getApiObject();

print_r($apis->list());
```

Versions
--------

[](#versions)

All releases will match for the stable versions of Kong released &gt;= 0.10.0

This ensures stability and resillence within the library reducing any compatibility issues between versions.

License
-------

[](#license)

Kong-php is open-source software and licensed under the [MIT License](http://opensource.org/licenses/MIT).

Kong is Copyright Mashape, inc.

###  Health Score

31

—

LowBetter than 66% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity28

Limited adoption so far

Community12

Small or concentrated contributor base

Maturity52

Maturing project, gaining track record

 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

Every ~90 days

Recently: every ~111 days

Total

6

Last Release

2933d ago

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/137263?v=4)[TheRealGambo](/maintainers/therealgambo)[@therealgambo](https://github.com/therealgambo)

---

Top Contributors

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

---

Tags

apiapi-gatewaykong-gatewaykong-phpkong-v10mashape-kongphpv10kongapi-gatewaykong gatewaymashape-kong

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/therealgambo-kong-php/health.svg)

```
[![Health](https://phpackages.com/badges/therealgambo-kong-php/health.svg)](https://phpackages.com/packages/therealgambo-kong-php)
```

###  Alternatives

[ignittion/kong-php

A PHP Library for interacting with the Kong API Gateway Admin.

101.3k](/packages/ignittion-kong-php)[bandwidth/sdk

Bandwidth's set of APIs

16995.4k1](/packages/bandwidth-sdk)[messagemedia/messages-sdk

The MessageMedia Messages API provides a number of endpoints for building powerful two-way messaging applications.

12422.1k](/packages/messagemedia-messages-sdk)[perimeter/rate-limit-bundle

Perimeter RateLimitBundle

411.5k](/packages/perimeter-rate-limit-bundle)[vittominacori/coinmarketcap-php

A PHP wrapper for CoinMarketCap API

2134.0k](/packages/vittominacori-coinmarketcap-php)[mantoufan/yzhangateway

Developing PHP SDK for any API. 为任何 API 快速开发 PHP SDK.

321.4k1](/packages/mantoufan-yzhangateway)

PHPackages © 2026

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