This is pretty much a meta package to provide standard definitions for the PSR-7 implementation. Currenty, zendframework/zend-diactoros is used as implementation. This doesn't really matter though, as we always code to interfaces, not to actual implementations. ;) #Installation Easiest way is via composer:
"require": {
"infomax/imxplatformphp.http": "*"
}
Then add the DefinitionsProvider to the ContainerBuilder:
$builder = new de\codenamephp\platform\di\ContainerBuilder();
...
$builder->addDefinitionsByProvider(new de\imxnet\imxplatformphp\http\DefinitionsProvider());
...
$container = $builder->build();
$container->get(\Psr\Http\Message\ServerRequestInterface::class);