f2 / http
Integrates laminas/laminas-diactoros in f2 to provide psr/http-factory and psr/http-message
0.0.4
2020-03-14 11:38 UTC
Requires
- f2/common: ^1.0
- f2/container: ^1.0
- laminas/laminas-diactoros: ^2.2
This package is auto-updated.
Last update: 2024-10-19 07:51:29 UTC
README
Package integrates laminas/laminas-diactoros with F2 service container.
Services added to F2::container():
Psr\Http\Message\RequestFactoryInterface
Psr\Http\Message\ResponseFactoryInterface
Psr\Http\Message\ServerRequestFactoryInterface
Psr\Http\Message\StreamFactoryInterface
Psr\Http\Message\UploadedFileFactoryInterface
Psr\Http\Message\UriFactoryInterface
Easy Access Functions added:
F2::createRequest
F2::createResponse
F2::createServerRequest
F2::createStream
F2::createStreamFromResource
F2::createUploadedFile
F2::createUri