Download the PHP package mj4444/simple-http-client without Composer
On this page you can find all versions of the php package mj4444/simple-http-client. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Please rate this library. Is it a good library?
Informations about the package simple-http-client
Simple Http Client
This client makes complex HTTP requests easy.
It's useful for building API clients, various parsers, and handling complex multi-step request workflows.
Key Features
- The client, request, and response are fully abstract and interface-based.
- A set of ready-to-use classes simplifies working with any types of sent and received data.
- Tools for working with streaming data (upload, download).
- A dedicated client for JSON responses.
- Using your own implementations of request and response interfaces keeps your code organized.
[!WARNING] Versions of this package earlier than "v1" may be incompatible. When connecting, please specify the exact package version to avoid automatic updates.
Installation
Via composer
By cloning the code
Add the following lines to the composer.json file:
Examples
Simple requests
Get request
Get request with query
Post request
JSON client
Extended request
Supported Body
- FileBody
- JsonBody
- MultipartFormBody
- File
- StringFile
- NoBody
- StreamBody
- StringBody
- StringStreamBody
- UrlencodedBody
- Your Body Implementations
Run tests
All versions of simple-http-client with dependencies
PHP Build Version
Package Version
Requires
php Version
^8.2
The package mj4444/simple-http-client contains the following files
Loading the files please wait ...