All Projects → Douglasdc3 → laravel-kong

Douglasdc3 / laravel-kong

Licence: MIT license
A fluent api wrapper around Kong's API manger designed for Laravel.

Programming Languages

PHP
23972 projects - #3 most used programming language

Projects that are alternatives of or similar to laravel-kong

Kong Plugin Response Cache
A Kong plugin that will cache responses in redis
Stars: ✭ 66 (+230%)
Mutual labels:  kong
kong-plugin-url-rewrite
Kong API Gateway plugin for url-rewrite purposes
Stars: ✭ 43 (+115%)
Mutual labels:  kong
lua-circuit-breaker
Circuit breaker pattern in Lua
Stars: ✭ 28 (+40%)
Mutual labels:  kong
Kubernetes Ingress Controller
🦍 Kong for Kubernetes: the official Ingress Controller for Kubernetes.
Stars: ✭ 1,347 (+6635%)
Mutual labels:  kong
Deck
decK: Configuration management and drift detection for Kong
Stars: ✭ 211 (+955%)
Mutual labels:  kong
kongsul
Kong Api Gateway with Consul Service Discovery (MicroService)
Stars: ✭ 35 (+75%)
Mutual labels:  kong
Kong
🦍 The Cloud-Native API Gateway
Stars: ✭ 30,838 (+154090%)
Mutual labels:  kong
docker-kong-oidc
Kong + OIDC plugins
Stars: ✭ 83 (+315%)
Mutual labels:  kong
Kong Dist Kubernetes
Kubernetes managed Kong cluster
Stars: ✭ 250 (+1150%)
Mutual labels:  kong
meshery-kuma
Meshery Adapter for Kuma
Stars: ✭ 35 (+75%)
Mutual labels:  kong
Wicked.haufe.io
An API Management system based on Mashape Kong
Stars: ✭ 110 (+450%)
Mutual labels:  kong
Kuma
🐻 The Universal Service Mesh. CNCF Sandbox Project.
Stars: ✭ 2,516 (+12480%)
Mutual labels:  kong
kong-init
Declarative configuration tool for Kong
Stars: ✭ 38 (+90%)
Mutual labels:  kong
Kong Ingress
[DEPRECATED] A Kubernetes Ingress for Kong
Stars: ✭ 96 (+380%)
Mutual labels:  kong
kong-plugin-api-response-merger
Kong API response merger plugin
Stars: ✭ 14 (-30%)
Mutual labels:  kong
Kongpose
Kong and Konga (admin webapp) development setup on docker-compose
Stars: ✭ 52 (+160%)
Mutual labels:  kong
MPContribs
Platform for materials scientists to contribute and disseminate their materials data through Materials Project
Stars: ✭ 30 (+50%)
Mutual labels:  kong
kong-plugins-canary
The grayscale plug-in based on gateway Kong, called Canary, meets A/B testing and dynamically switches upstream agents
Stars: ✭ 31 (+55%)
Mutual labels:  kong
kong-js-pdk
Kong PDK for Javascript and plugin server
Stars: ✭ 28 (+40%)
Mutual labels:  kong
kongverge
A desired state configuration tool for Kong
Stars: ✭ 23 (+15%)
Mutual labels:  kong

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.

Compatibility

Below you'll find package version compatibility with different versions of Kong and supported plugins.

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.

composer require douglasdc3/kong

Usage

This library follows Kong's api.

Example request:

$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:

vendor/bin/phpunit
Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].