pmjones/request

Server-side request and response objects from <http://pecl.php.net/request>.

2.0.0 2020-06-07 21:20 UTC

This package is auto-updated.

Last update: 2024-10-10 00:54:28 UTC


README

This package provides a userland implementation of the PECL request extension, version 2.

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

  • The SapiRequest and SapiUpload magic methods (__get(), etc.) are declared as final; this is to help mitigate attempts to subvert immutability.

You can read the documentation at https://github.com/pmjones/ext-request.

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