First version of request body parser package was released. The package is a PSR-15 middleware that allows parsing PSR-7 server request body selecting the parser according to the server request mime type.
Out of the box it parses application/json
requests where JSON is in the body. More parsers for mime types could be added by implementing a very simple ParserInterface
.
Check README for details.