mk4u / http
Small HTTP library
Requires
- php: >=8.2
- ext-curl: *
- ralouphie/getallheaders: ^3.0
Requires (Dev)
README
This small library provides a simple and easy to use interface for creating, sending and receiving HTTP requests and responses. Although many of the concepts of the PSR-7 standard are present in this library, it is not intended to seek compatibility with that recommendation.
Installation
The installation of this library can be done with Composer:
composer require mk4u/http
Usage
This library provides a variety of functions to simplify the management of the input and output of your application or API. It also provides the essential tools to work efficiently with HTTP protocols.
For more details, please refer to the documentation:
- Mk4U\Http\Client.php
- Mk4U\Http\Cookie.php
- Mk4U\Http\Headers.php
- Mk4U\Http\Request.php
- Mk4U\Http\Response.php
- Mk4U\Http\Session.php
- Mk4U\Http\Status.php
- Mk4U\Http\Stream.php
- Mk4U\Http\UploadedFile.php
- Mk4U\Http\Uri.php
Contribute
Your contributions are welcome! If you encounter any problems or have any improvements to suggest, please open an issue or send a pull request.
License
This project is licensed under the MIT License.
Contact
If you have any questions or comments, feel free to contact me at Telegram.