Download the PHP package givanov95/typed-http without Composer
On this page you can find all versions of the php package givanov95/typed-http. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download givanov95/typed-http
More information about givanov95/typed-http
Files in givanov95/typed-http
Package typed-http
Short Description Typed, object-oriented HTTP requests for PHP (PSR-18) with an optional Laravel bridge
License MIT
Informations about the package typed-http
TypedHttp
TypedHttp is a typed PHP HTTP request/response library designed to simplify building HTTP requests, parsing responses, and handling authentication.
Features
- Abstract base Request class for typed HTTP requests
- Extensible authentication mechanisms (BasicAuth, Certificate, etc.)
- Support for various Content-Type and response formats
- Clear and informative exception handling
- Easily extendable for custom API integrations
Request parameters are automatically gathered from the public properties declared in your extending request class. You simply declare the parameters as public properties in your class, and the library handles collecting and sending them with your request, keeping your code clean and simple.
Installation
Tests
Tests are not included yet but will be added in future releases to ensure quality and reliability.
Examples
More example scripts and detailed usage scenarios will be added soon to help you get started quickly.
All versions of typed-http with dependencies
guzzlehttp/guzzle Version ^7.9 || ^8.0
guzzlehttp/psr7 Version ^2.6 || ^3.0
psr/http-client Version ^1.0
psr/http-message Version ^1.1 || ^2.0