2017 © Pedro Peláez
 

yii2-extension yii2-gateway-clients

An abstraction layer provide the skeleton for build rest api client (1-n).

image

vxm/yii2-gateway-clients

An abstraction layer provide the skeleton for build rest api client (1-n).

  • Saturday, June 2, 2018
  • by vuongxuongminh
  • Repository
  • 0 Watchers
  • 2 Stars
  • 78 Installations
  • PHP
  • 2 Dependents
  • 0 Suggesters
  • 0 Forks
  • 0 Open issues
  • 12 Versions
  • 1 % Grown

The README.md

YII2 Gateway Clients

Skeleton for build rest api client (1-n)., (*1)

Latest Stable Version Total Downloads Build Status Code Coverage Scrutinizer Code Quality Yii2, (*2)

This Yii2 extension is an abstraction layer provide the skeleton for build an api client (1-n)., (*3)

Requirements

Installation

The preferred way to install this yii2-extension is through composer., (*4)

composer require "vxm/yii2-gateway-clients"

or add, (*5)

"vxm/yii2-gateway-clients": "*"

to the require section of your composer.json., (*6)

Usage

This is an abstraction layer, you MUST be create your own classes implements it. It designed for DRY principle when you need to build rest api client., (*7)

Abstract Classes Introduce

An abstract classes have been designed for implemented an interfaces. You should extends it for easier implements interfaces on your own classes., (*8)

Abstract Class Details
BaseGateway Implemented GatewayInterface, abstract method your own class must create: requestInternal, getBaseUrl.
BaseClient Implemented ClientInterface, it not have an abstract method your own class should add properties an information for access gateway server api.
ResponseData Abstract method your own class must create is getIsOk for end-user checking response data get from gateway server api is valid or not.

Need an example?

Click here to read simple example., (*9)

Project using it

The Versions

02/06 2018

dev-master

9999999-dev

An abstraction layer provide the skeleton for build rest api client (1-n).

  Sources   Download

BSD-3-Clause

The Requires

 

by VUONG MINH

extension yii2 rest-api

02/06 2018

2.0.0

2.0.0.0

An abstraction layer provide the skeleton for build rest api client (1-n).

  Sources   Download

BSD-3-Clause

The Requires

 

by VUONG MINH

extension yii2 rest-api

14/05 2018

1.0.9

1.0.9.0

An abstraction layer provide the skeleton for build rest api client (1-n).

  Sources   Download

BSD-3-Clause

The Requires

 

by VUONG MINH

extension yii2 rest-api

09/05 2018

1.0.8

1.0.8.0

An abstraction layer provide the skeleton for build rest api client (1-n).

  Sources   Download

BSD-3-Clause

The Requires

 

by VUONG MINH

extension yii2 rest-api

09/05 2018

1.0.7

1.0.7.0

An abstraction layer provide the skeleton for build rest api client (1-n).

  Sources   Download

BSD-3-Clause

The Requires

 

by VUONG MINH

extension yii2 rest-api

09/05 2018

1.0.6

1.0.6.0

An abstraction layer provide the skeleton for build rest api client (1-n).

  Sources   Download

BSD-3-Clause

The Requires

 

by VUONG MINH

extension yii2 rest-api

08/05 2018

1.0.5

1.0.5.0

An abstraction layer provide the skeleton for build rest api client (1-n).

  Sources   Download

BSD-3-Clause

The Requires

 

by VUONG MINH

extension yii2 rest-api

08/05 2018

1.0.4

1.0.4.0

An abstraction layer provide the skeleton for build rest api client (1-n).

  Sources   Download

BSD-3-Clause

The Requires

 

by VUONG MINH

extension yii2 rest-api

08/05 2018

1.0.3

1.0.3.0

An abstraction layer provide the skeleton for build rest api client (1-n).

  Sources   Download

BSD-3-Clause

The Requires

 

by VUONG MINH

extension yii2 rest-api

08/05 2018

1.0.2

1.0.2.0

An abstraction layer provide the skeleton for build rest api client (1-n).

  Sources   Download

BSD-3-Clause

The Requires

 

by VUONG MINH

extension yii2 rest-api

07/05 2018

1.0.1

1.0.1.0

An abstraction layer provide the skeleton for build rest api client (1-n).

  Sources   Download

BSD-3-Clause

The Requires

 

by VUONG MINH

extension yii2 rest-api

07/05 2018

1.0.0

1.0.0.0

An abstraction layer provide the skeleton for build rest api client (1-n).

  Sources   Download

BSD-3-Clause

The Requires

 

by VUONG MINH

extension yii2 rest-api