Download the PHP package tal7aouy/yusr without Composer
On this page you can find all versions of the php package tal7aouy/yusr. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download tal7aouy/yusr
More information about tal7aouy/yusr
Files in tal7aouy/yusr
Package yusr
Short Description A lightweight HTTP client library for PHP inspired by Guzzle.
License MIT
Informations about the package yusr
🚀 YusrClient - A Powerful PHP HTTP Client
YusrClient is a robust and easy-to-use PHP HTTP client that simplifies making HTTP requests in your PHP applications. Built with modern PHP practices, it implements the PSR-18 HTTP Client interface and provides a fluent API for sending HTTP requests.
✨ Key Features
- 🔒 PSR-18 HTTP Client compliant
- 🛠 Singleton pattern implementation
- 🚦 Full HTTP method support (GET, POST, PUT, DELETE, PATCH)
- 🔄 Automatic retry mechanism with exponential backoff
- 🔧 Highly customizable request options
- 🧩 Intuitive fluent interface
- ⏱ Configurable timeouts
- 🔐 SSL verification support
📦 Installation
🚀 Quick Start
⚙️ Configuration
📘 Available Methods
HTTP Methods
Request Options
query
- Array of URL query parametersheaders
- Custom request headersbody
- Request body (for POST, PUT, PATCH)timeout
- Request timeout in secondsallow_redirects
- Follow redirects (boolean)verify
- SSL certificate verificationretry
- Retry configuration for failed requests
🔄 Retry Mechanism
YusrClient includes a sophisticated retry mechanism with exponential backoff:
🤝 Contributing
Contributions are always welcome! Please read our Contributing Guide for details.
📝 License
This project is licensed under the MIT License.
🙏 Support
If you find this package helpful, please consider giving it a star ⭐️
All versions of yusr with dependencies
ext-json Version *
ext-curl Version *
psr/http-client Version ^1.0
psr/http-message Version ^2.0