message-factory
message-factory copied to clipboard
Abandoned: Httplug Factory interfaces for PSR-7 HTTP Message
There is no upper bound on the PHP version (and too late to add one in 1.x). We should test on PHP 8.0 with the CI.
This PR adds a compatibility layer between our message factories and PSR-17. Once it is in place, we can refactor the discovery layer to check for PSR-17 implementations and use...
It is time. We succeeded!
We should support discovering PSR-17 factories and return them as PHP-HTTP message factories. In the next major version we can probably drop support for PHP-HTTP factories?
[PSR-17](https://github.com/php-fig/fig-standards/tree/master/proposed/http-factory) is an upcoming proposal that will standardize HTTP Message factories. The work of defining the actual interfaces is happening right now in @http-interop http-factory repository. Can we work together...
- [ ] ServerMessageFactory - [ ] UploadedFileFactory PRs are very welcome