Server-side request and response objects from <>.

1.0.0-beta2 2017-07-25 17:46 UTC


This package provides a PHP 5.x userland implementation of the PECL request extension (which is for PHP 7.x).

Usage is identical to that of the extension, with these exceptions:

  • The ServerRequest::__get() etc. magic methods are declared as final; this is to help mitigate attempts to subvert immutability.

  • The ServerRequest::$content property is populated at instantiation time, instead of at the time of first access.

You can read the documentation at

To run the tests, issue composer test at the package root.