Download the PHP package mumtazhaqiqy/c14-psr7-http-messages without Composer
On this page you can find all versions of the php package mumtazhaqiqy/c14-psr7-http-messages. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download mumtazhaqiqy/c14-psr7-http-messages
More information about mumtazhaqiqy/c14-psr7-http-messages
Files in mumtazhaqiqy/c14-psr7-http-messages
Package c14-psr7-http-messages
Short Description Codeigniter 4 Http Message to PSR-7 Http Messages
License MIT
Informations about the package c14-psr7-http-messages
CI4 PSR-7 HTTP Messages
This package convert codeigniter4-http object from and to objects implementing HTTP message interfaces defined by PSR-7.
Instalation
Usage
The bridge provides an interface of a factory called
MumtazHaqiqy\Codeigniter4Psr7\Interfaces\HttpPsr7FactoryInterface
that builds objects implementing PSR-7 interfaces from IncommingRequest
objects.
The following code snippet explains how to convert a CodeIgniter\HTTP\IncomingRequest
to a Nyholm\Psr7\ServerRequest
class implementing the
Psr\Http\Message\ServerRequestInterface
interface: