Download the PHP package pugkong/symfony-requests without Composer
On this page you can find all versions of the php package pugkong/symfony-requests. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download pugkong/symfony-requests
More information about pugkong/symfony-requests
Files in pugkong/symfony-requests
Package symfony-requests
Short Description A lightweight PHP library for making HTTP requests and handling responses using Symfony components
License Unlicense
Homepage https://github.com/PugKong/symfony-requests
Informations about the package symfony-requests
Symfony Requests
Symfony Requests is a lightweight and flexible library that simplifies making HTTP requests and handling responses
in Symfony-based PHP applications. It leverages Symfony's HttpClient
and Serializer
components while providing
additional functionality, such as URI templating and streamlined request-response workflows.
🚀 Installation
Install the library via Composer
🌟 Features
- Build and send HTTP requests effortlessly
- Supports URI templates for dynamic endpoint resolution
- Leverages Symfony Serializer for easy data normalization and encoding
- Provides intuitive methods for accessing and deserializing response data
🔧 Requirements
- PHP 8.2 or higher
- Symfony HttpClient and Serializer components
- Optionally, a URI template implementation (e.g.,
guzzlehttp/uri-template
) for URI template support
📄 Usage Example
Below is a complete example showcasing how to use the library for building and sending requests, deserializing responses, and handling errors
📜 License
This project is licensed under The Unlicense, which allows you to use, modify, and distribute the library without restrictions.
🛠️ Contributing
Contributions, issues, and feature requests are welcome! Feel free to check out the issues page to report bugs or suggest improvements.
🤝 Support
If you find this library useful, consider giving it a ⭐ on GitHub!
All versions of symfony-requests with dependencies
symfony/http-client Version ^6.4|^7.0
symfony/serializer-pack Version ^1.3