2017 © Pedro Peláez
 

library kong-admin-api

Kong Admin Api for PHP Projects

image

unikorp/kong-admin-api

Kong Admin Api for PHP Projects

  • Monday, November 6, 2017
  • by VEBERArnaud
  • Repository
  • 4 Watchers
  • 2 Stars
  • 1 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 0 Forks
  • 1 Open issues
  • 10 Versions
  • 0 % Grown

The README.md

kong-admin-api

Documentation Build Status Code Coverage Scrutinizer Code Quality Dependency Status SensioLabsInsight, (*1)

Installation

Step 1: Download the Library

Open a command console, enter your project directory and execute the following command to download the latest stable version of this library:, (*2)

$ composer require "unikorp/kong-admin-api"

This command requires you to have Composer installed globally, as explained in the installation chapter of the Composer documentation., (*3)

Step 2: Download a client implementation

If your project is not already using a client implementation, select one form the list of virtual packages php-http/client-implementation, and then download it., (*4)

For this example we are going to use php-http/guzzle6-adapter, (*5)

$ composer require "php-http/guzzle6-adapter"

Usage

<?php

require_once('./vendor/autoload.php');

// configure KongAdminApi client
$configurator = new \Unikorp\KongAdminApi\Configurator();
$configurator->setBaseUri('http://example.com:8001/');

// create KongAdminApi client
$client = new \Unikorp\KongAdminApi\Client($configurator);

// retrieve node information
$response = $client->getNode('information')->retrieveNodeInformation();
$information = json_decode($response->getBody()->getContents(), true);

var_dump($information);

The Versions

06/11 2017

dev-feat/kong-0-11-x

dev-feat/kong-0-11-x

Kong Admin Api for PHP Projects

  Sources   Download

MIT

The Requires

 

The Development Requires

by VEBER Arnaud

15/08 2017

v0.0.1-beta.1

0.0.1.0-beta1

Kong Admin Api for PHP Projects

  Sources   Download

MIT

The Requires

 

The Development Requires

by VEBER Arnaud

15/08 2017

v0.0.1-alpha.5

0.0.1.0-alpha5

Kong Admin Api for PHP Projects

  Sources   Download

MIT

The Requires

 

The Development Requires

by VEBER Arnaud

15/08 2017

dev-master

9999999-dev

Kong Admin Api for PHP Projects

  Sources   Download

MIT

The Requires

 

The Development Requires

by VEBER Arnaud

15/08 2017

v0.0.1-alpha.4

0.0.1.0-alpha4

Kong Admin Api for PHP Projects

  Sources   Download

MIT

The Requires

 

The Development Requires

by VEBER Arnaud

15/08 2017

v0.0.1-alpha.3

0.0.1.0-alpha3

Kong Admin Api for PHP Projects

  Sources   Download

MIT

The Requires

 

The Development Requires

by VEBER Arnaud

10/08 2017

v0.0.1-alpha.2

0.0.1.0-alpha2

Kong Admin Api for PHP Projects

  Sources   Download

MIT

The Requires

 

The Development Requires

by VEBER Arnaud

10/08 2017

v0.0.1-alpha.1

0.0.1.0-alpha1

Kong Admin Api for PHP Projects

  Sources   Download

MIT

The Requires

 

The Development Requires

by VEBER Arnaud

17/02 2017

dev-feat/create-http-client

dev-feat/create-http-client

Kong Admin Api for PHP Projects

  Sources   Download

MIT

The Requires

 

The Development Requires

by VEBER Arnaud

17/02 2017

dev-feat/documents

dev-feat/documents

Kong Admin Api for PHP Projects

  Sources   Download

MIT

The Requires

  • php >=5.6.0

 

The Development Requires

by VEBER Arnaud