Download the PHP package torann/api-client without Composer
On this page you can find all versions of the php package torann/api-client. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Table of contents
Download torann/api-client
More information about torann/api-client
Files in torann/api-client
Download torann/api-client
More information about torann/api-client
Files in torann/api-client
Vendor torann
Package api-client
Short Description A reusable base API client for use with remote services.
License BSD 2-Clause
Package api-client
Short Description A reusable base API client for use with remote services.
License BSD 2-Clause
Please rate this library. Is it a good library?
Informations about the package api-client
Base API Client
A reusable base API client for use with remote services.
Installation
Install using composer:
Creating Clients
Once installed we need to create some clients. First we need to extend the \BaseApiClient\Client
class and set endpoint namespace.
Client
The $endpointNamespace
variable is the prefix for the namespace of our endpoints.
Endpoints
From the endpoint we make our API calls and return the models.
Models
Registering Our Clients
Calling an Endpoint
Below is an example of using our \App\BlogApi\Client
inside of a controller.
Change Log
0.2.0
- Add support for Laravel 5.4
0.1.4
- Return null for empty values
0.1.3
- Add support for Laravel 5.3
0.1.2
- Remove trailing slash
0.1.1
- Bug fixes
0.1.0
- First release
All versions of api-client with dependencies
PHP Build Version
Package Version
Requires
php Version
>=5.5.9
illuminate/support Version ~5.4
illuminate/pagination Version ~5.4
symfony/http-kernel Version ~3.2
illuminate/support Version ~5.4
illuminate/pagination Version ~5.4
symfony/http-kernel Version ~3.2
The package torann/api-client contains the following files
Loading the files please wait ....