The new PECL package request-1.0.0b1 (beta) has been released at 
http://pecl.php.net/.

Release notes
-------------
Added:

- ServerRequest::$forwarded property, computed from
  $_SERVER['HTTP_FORWARDED']

- ServerRequest::$forwarded(For|Host|Proto), computed from
  $_SERVER['HTTP_X_FORWARDED(FOR|HOST|PROTO)']

Package Info
-------------
This extension provides server-side request and response objects for PHP 7.
These are *not* HTTP message objects proper. They are more like wrappers
for existing global PHP variables and functions, with some limited
additional convenience functionality.

This extension defines two classes in the global namespace:

- ServerRequest, composed of read-only copies of PHP superglobals and some
  other commonly-used values, with methods for adding application-specific
  request information in immutable fashion.

- ServerResponse, essentially a wrapper around (and buffer for) response-
  related PHP functions, with some additional convenience methods, and self-
  sending capability.

Documentation: https://gitlab.com/pmjones/ext-request

A PHP 5 userland implementation that tracks this extension is available at
https://packagist.org/packages/pmjones/request .

Related Links
-------------
Package home: http://pecl.php.net/package/request
   Changelog: http://pecl.php.net/package-changelog.php?package=request
    Download: http://pecl.php.net/get/request-1.0.0b1.tgz

Authors
-------------
Paul Jones (lead)
John Boehr <jbbo...@gmail.com> (lead)


-- 
PECL development discussion Mailing List (http://pecl.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to