request

pecl install request

Provides server-side request and response objects.

This extension provides server-side request and response objects for PHP.

These are *not* HTTP message objects proper. They are more like wrappers for existing global PHP variables and functions.

Four classes and one interface are defined in the global namespace:

- _SapiRequest_, composed of read-only copies of PHP superglobals and some other commonly-used values.

- _SapiUpload_, a value-object style descriptor of each uploaded file.

- _SapiResponse_ and _SapiResponseInterface_, essentially a wrapper around (and buffer for) response-related PHP functions.

- _SapiResponseSender_, for sending a _SapiResponse_.

Version 2.0.0 change log


First 2.0 release, updated for PHP 7.3, 7.4, 8.0, and later.

Maintainer

  • John Boehr (lead )
  • Paul M. Jones (lead )

Details

Categories

Stars: 42
Downloads: 10207
2.0.0
08/04/2020 12:29

requires:

  • php >=7.3.0
  • pearinstaller >=1.4.1
Request a build
Request to the website owner's team the built this extension with this parameters. The result is not guaranteed and can be impossible for many reasons. The extension source code is frequently not upto date with the most recent PHP version.
If you have another code source for this extension, provide it in comment.
Please (or register) to request a build.