Skip to content
This repository was archived by the owner on Sep 3, 2026. It is now read-only.

1.0.0

Latest

Choose a tag to compare

@swnck swnck released this 19 Mar 18:30
· 1 commit to main since this release

For your 1.0.0 release of the PureRequest library, here's a sample release description that highlights the key features, improvements, and overall value of this release to potential users and contributors:


PureRequest 1.0.0 Release Notes

We're excited to announce the first stable release of PureRequest, version 1.0.0! PureRequest is a streamlined PHP library designed to simplify the complexity of web communication by offering an intuitive and easy-to-use interface for making HTTP requests. This release marks a significant milestone in our journey to provide developers with a reliable, efficient, and flexible tool for web development.

🌟 New Features

  • Simplified HTTP Requests: Make GET and POST requests with minimal setup.
  • Custom Headers and Body Content: Easily modify request headers and body to suit your needs, including support for JSON, form data, and more.
  • Configurable Options: Fine-tune your requests with configurable options such as timeouts, follow location, and maximum redirects.
  • Response Handling: Get immediate access to response content and status codes, allowing for straightforward error handling and data processing.

🛠 Improvements

  • Performance Optimization: Reduced library overhead, ensuring faster request execution and lower memory usage.
  • Enhanced Security: Implemented secure default settings for SSL verification to promote safe web communication.
  • Documentation: Comprehensive documentation and examples to get you started quickly and understand the library's capabilities.

🚀 Getting Started

To install PureRequest, run:

composer require swnck/pure-request

Here's a quick example to make a GET request:

use Swnck\PureRequest\PureRequest;
use Swnck\PureRequest\http\content\type\HeaderContent;
use Swnck\PureRequest\http\frame\type\ResponseFrame;

$request = new PureRequest();
$request->get(HeaderContent::empty(), function (ResponseFrame $response) {
    echo $response->getContent();
}, "https://example.com/api/data");

🙏 Acknowledgements

A huge thank you to all our contributors and the community for the support, feedback, and contributions that made this release possible. We're committed to improving PureRequest and eagerly await your input for future enhancements.

📝 License

PureRequest is licensed under the Apache-2.0 License, supporting both open-source and commercial use.
We hope you enjoy using PureRequest as much as we enjoyed developing it. Happy coding!


Feel free to adjust the URLs to point to your actual documentation and changelog locations.