https://github.com/vuongxuongminh/gateway-clients
An interface for build rest api client (1-n)
https://github.com/vuongxuongminh/gateway-clients
Last synced: 6 months ago
JSON representation
An interface for build rest api client (1-n)
- Host: GitHub
- URL: https://github.com/vuongxuongminh/gateway-clients
- Owner: vuongxuongminh
- License: bsd-3-clause
- Created: 2018-05-31T04:31:57.000Z (over 7 years ago)
- Default Branch: master
- Last Pushed: 2018-06-01T17:06:00.000Z (over 7 years ago)
- Last Synced: 2025-05-08T20:48:48.749Z (6 months ago)
- Language: PHP
- Size: 3.91 KB
- Stars: 1
- Watchers: 0
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Gateway Clients
**An interface for build rest api client (1-n).**
## Requirements
* [PHP >= 7.0.0](http://php.net)
## Installation
The preferred way to install this is through [composer](http://getcomposer.org/download/).
```sh
composer require "vxm/gateway-clients"
```
or add
```json
"vxm/gateway-clients": "*"
```
to the require section of your composer.json.
## Interfaces Introduce
|Interface | Details|
|------|--------|
|[**GatewayInterface**](src/GatewayInterface.php)|It should be implemented by classes provide gateway server api information.
|[**ClientInterface**](src/ClientInterface.php)|It should be implemented by classes provide information for access to gateway server api via [**GatewayInterface**](src/GatewayInterface.php).
|[**DataInterface**](src/DataInterface.php)|It should be implemented by classes provide data for support [**GatewayInterface**](src/GatewayInterface.php) make request or get response data from gateway server api.
## Abstraction layer
* [For Yii2 framework](https://github.com/vuongxuongminh/yii2-gateway-clients)