Skip to content

Metapackage that provides DI defintions for PSR-7 http implementation

License

Notifications You must be signed in to change notification settings

infomaxwebsolutions/imxplatformphp.http

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

imxplatformphp.http

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);

About

Metapackage that provides DI defintions for PSR-7 http implementation

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages