Download the PHP package fast-forward/http-message without Composer
On this page you can find all versions of the php package fast-forward/http-message. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download fast-forward/http-message
More information about fast-forward/http-message
Files in fast-forward/http-message
Package http-message
Short Description Fast Forward PSR-7 HTTP Message utility classes
License MIT
Homepage https://github.com/php-fast-forward
Informations about the package http-message
Fast Forward HTTP Message
Overview
The Fast Forward HTTP Message library provides utility classes and implementations for working with PSR-7 HTTP Messages in PHP, with a strong focus on immutability, strict typing, and developer ergonomics.
This library is designed to extend and complement nyholm/psr7
, providing additional structures for managing payloads, including convenient support for JSON and other payload-centric responses.
Features
✅ Fully PSR-7 compliant
✅ Strictly typed for PHP 8.2+
✅ Immutable by design (PSR-7 standard)
✅ Convenient JSON response with automatic headers
✅ Payload-aware interfaces for reusable patterns
✅ No external dependencies beyond PSR-7
Installation
This package requires PHP 8.2 or higher and can be installed via Composer:
Usage
Json Response Example
Payload Access and Immutability
🛡 License
This package is open-source software licensed under the MIT License.
🤝 Contributing
Contributions, issues, and feature requests are welcome!
Feel free to open a GitHub Issue or submit a Pull Request.