Bug 215436 - [NEW PORT] devel/pecl-request: Provides server-side request and response objects for PHP 7
Summary: [NEW PORT] devel/pecl-request: Provides server-side request and response obje...
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: --- Affects Only Me
Assignee: Vanilla I. Shu
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2016-12-20 07:29 UTC by Gasol Wu
Modified: 2016-12-23 10:52 UTC (History)
1 user (show)

See Also:


Attachments
Shell archive (2.31 KB, text/plain)
2016-12-20 07:29 UTC, Gasol Wu
no flags Details
test on 10.3 (51.35 KB, text/plain)
2016-12-20 07:29 UTC, Gasol Wu
no flags Details
test on 11.0 (51.31 KB, text/plain)
2016-12-20 07:29 UTC, Gasol Wu
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description Gasol Wu 2016-12-20 07:29:04 UTC
Created attachment 178131 [details]
Shell archive

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 .

WWW: https://pecl.php.net/package/request
Comment 1 Gasol Wu 2016-12-20 07:29:28 UTC
Created attachment 178132 [details]
test on 10.3
Comment 2 Gasol Wu 2016-12-20 07:29:54 UTC
Created attachment 178133 [details]
test on 11.0
Comment 3 commit-hook freebsd_committer freebsd_triage 2016-12-23 10:52:04 UTC
A commit references this bug:

Author: vanilla
Date: Fri Dec 23 10:50:58 UTC 2016
New revision: 429244
URL: https://svnweb.freebsd.org/changeset/ports/429244

Log:
  Add pecl-request 1.0.0b1, provides server-side request and response
  objects for PHP 7.

  PR:		215436
  Submitted by:	Gasol Wu <gasol.wu@gmail.com>

Changes:
  head/devel/Makefile
  head/devel/pecl-request/
  head/devel/pecl-request/Makefile
  head/devel/pecl-request/distinfo
  head/devel/pecl-request/pkg-descr