2017 © Pedro Peláez
 

library kong

A Kong API Manager Admin client. Includes Laravel integration.

image

douglasdc3/kong

A Kong API Manager Admin client. Includes Laravel integration.

  • Wednesday, July 11, 2018
  • by Douglasdc3
  • Repository
  • 1 Watchers
  • 0 Stars
  • 55 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 0 Forks
  • 0 Open issues
  • 5 Versions
  • 45 % Grown

The README.md

A Kong Admin Client for laravel apps

This is laravel package that allows you to integrate with kong. An open source API manager build on NGINX., (*1)

Compatibility

Below you'll find package version compatibility with different versions of Kong and supported plugins., (*2)

Version Kong JWT plugin ACL plugin
v1.x 1.x / 2.x 1.0-x / 2.1-x / 2.2-x 1.0-x
v0.2.x 0.x 0.1-x 0.1-x

Install

This package requires PHP7.X and Laravel5.6 or higher., (*3)

composer require douglasdc3/kong

Usage

This library follows Kong's api., (*4)

Example request:, (*5)

$kong = new Kong(new HttpClient('http://localhost:8001'));
$consumer = new Consumer(['username' => 'johndoe', 'custom_id' => 123]);
// Creating a new Consumer & add user to admin acl group in kong
$kong->consumers()->create($consumer)->acl()->create('admin');
````

# Planned development

* Missing plugins.
* More tests.

# Testing & local development

The integration test use docker behind the scenes.
Run the tests with:

```bash
vendor/bin/phpunit

The Versions

11/07 2018

dev-master

9999999-dev

A Kong API Manager Admin client. Includes Laravel integration.

  Sources   Download

MIT

The Requires

 

The Development Requires

by Ken Andries

laravel api gateway kong

12/05 2018

0.1.5

0.1.5.0

A Kong API Manager Admin client. Includes Laravel integration.

  Sources   Download

MIT

The Requires

 

The Development Requires

by Ken Andries

laravel api gateway kong

23/04 2018

0.1.4

0.1.4.0

A Kong API Manager Admin client. Includes Laravel integration.

  Sources   Download

MIT

The Requires

 

The Development Requires

by Ken Andries

laravel api gateway kong

23/04 2018

0.1.3

0.1.3.0

A Kong API Manager Admin client. Includes Laravel integration.

  Sources   Download

MIT

The Requires

 

The Development Requires

by Ken Andries

laravel api gateway kong

22/04 2018

0.1.2

0.1.2.0

A Kong API Manager Admin client. Includes Laravel integration.

  Sources   Download

MIT

The Requires

 

The Development Requires

by Ken Andries

laravel api gateway kong