Download the PHP package swnck/pure-request without Composer
On this page you can find all versions of the php package swnck/pure-request. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download swnck/pure-request
More information about swnck/pure-request
Files in swnck/pure-request
Package pure-request
Short Description A streamlined PHP library for hassle-free HTTP requests, simplifying web communication without the complexity of cURL.
License Apache-2.0
Informations about the package pure-request
PureRequest
⚠️ UNDER DEVELOPMENT ⚠️
Introduction
PureRequest
is a streamlined PHP library designed to simplify web communication by providing a hassle-free interface for HTTP requests, eliminating the complexity of using cURL directly. This library supports a wide range of HTTP operations, including GET and POST requests, and is highly configurable to meet the needs of various web applications.
Features
- Easy-to-use interface for HTTP GET and POST requests
- Support for custom headers and body content
- Configurable request options, including timeouts and redirection handling
- Built-in support for handling response data and status codes
- Secure and efficient implementation
Installation
To install PureRequest, you need to have Composer installed on your machine. Run the following command in your project directory:
Usage
Configuration of Request
or if you want to stay with DEFAULT configuration:
Sending a GET Request
Sending a POST Request
Features
- [x] Easy-to-use interface for HTTP GET and POST requests
- [x] Support for custom headers and body content
- [ ] Support for PUT, DELETE, PATCH, OPTIONS, HEAD, and other HTTP methods
- [ ] Support for file uploads and multipart form data
- [x] Configurable request options, including timeouts and redirection handling
- [x] Built-in support for handling response data and status codes
- [x] Secure and efficient implementation
- [ ] Support for cookies and session management
- [ ] Support for asynchronous requests and parallel processing
Contributing
We welcome contributions from the community! If you'd like to contribute to PureRequest, please fork the repository and submit a pull request with your proposed changes or improvements.
License
The contents of this repository are licensed under the Apache License, version 2.0.