Download the PHP package joseluisq/guztav without Composer
On this page you can find all versions of the php package joseluisq/guztav. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Table of contents
Download joseluisq/guztav
More information about joseluisq/guztav
Files in joseluisq/guztav
Download joseluisq/guztav
More information about joseluisq/guztav
Files in joseluisq/guztav
Vendor joseluisq
Package guztav
Short Description A small RESTful API client around PHP Guzzle
License MIT
Homepage http://guzzlephp.org/
Package guztav
Short Description A small RESTful API client around PHP Guzzle
License MIT
Homepage http://guzzlephp.org/
Please rate this library. Is it a good library?
Informations about the package guztav
Guztav
A small RESTful API client around PHP Guzzle.
Features
- It's only a wrapper around Guzzle. It means that you can use the same API like:
Client
,Request
andResponse
objects. - Some helper functions for more friendly
Response
data handling like :$response->toArray()
,$response->toString()
, etc. - You can define your
BASE_URI
andACCESS_TOKEN
settings via.env
file. For example using Dotenv package (optional).
Install
Usage
Settings via .env file
GUZTAV_BASE_URI
: The same Guzzlebase_uri
param forClient
settings.GUZTAV_ACCESS_TOKEN
: It will be to added to the current header likeAuthorization: Bearer ...
(optional)
Settings via constructor
You can also pass the same Guzzle options for Client
object.
Making a request
Note: By now, Guztav
supports application/json
response data only.
License
MIT license
© 2017 José Luis Quintana
All versions of guztav with dependencies
PHP Build Version
Package Version
The package joseluisq/guztav contains the following files
Loading the files please wait ....