Download the PHP package fain182/diciotto without Composer
On this page you can find all versions of the php package fain182/diciotto. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Table of contents
Download fain182/diciotto
More information about fain182/diciotto
Files in fain182/diciotto
Download fain182/diciotto
More information about fain182/diciotto
Files in fain182/diciotto
Vendor fain182
Package diciotto
Short Description A no-nonsense PHP Http client (PSR 18 compatible)
License MIT
Package diciotto
Short Description A no-nonsense PHP Http client (PSR 18 compatible)
License MIT
Please rate this library. Is it a good library?
Informations about the package diciotto
Diciotto is a no-nonsense PSR-18 compliant HTTP client library for PHP 7.
Principles
- Documentation should be unnecessary
- Provide sensible defaults
- Explicit is better than implicit
- Prefer a good Developer eXperience over performance
- No surprises
Install
How to...
make a GET request
make a POST request with body in JSON
make a request with a different timeout
The default timeout is 15 seconds.
make a request to a server with self-signed or invalid SSL certificate
make a request with a cookie
Error handling
Diciotto raise exception if the request is invalid (RequestException
), or if there are network problems (NetworkException
).
Response with status code 4xx or 5xx are treated the same way as the others, so no exception or error is raised.
About
Requirements
- Diciotto works with PHP 7.1 or above.
License
Diciotto is licensed under the MIT License - see the LICENSE
file for details
Acknowledgements
Diciotto is built on top of nyholm/psr7 that provides PSR-7 and PSR-17 implementation.
All versions of diciotto with dependencies
PHP Build Version
Package Version
Requires
php Version
>=7.1.0
psr/http-client Version ^1.0
nyholm/psr7 Version ^1.0
ext-curl Version *
ext-json Version *
psr/http-client Version ^1.0
nyholm/psr7 Version ^1.0
ext-curl Version *
ext-json Version *
The package fain182/diciotto contains the following files
Loading the files please wait ....