BSD Ports

www/pear-HTTP_Request2 2.6.0,1 DragonFly

PEAR classes providing an easy way to perform HTTP requests

System
DragonFly
Repository
DPorts
Maintainer
[email protected] (as in FreeBSD)
License
BSD3CLAUSE
Categories
pear, www
Package size
109.0 KiB, 560.5 KiB installed

Description

HTTP_Request2 provides cleaner API and pluggable Adapters:

  • Socket adapter, based on old HTTP_Request code,
  • Curl adapter, wraps around PHP's cURL extension,
  • Mock adapter, to use for testing packages dependent on HTTP_Request2.

It supports POST requests with data and file uploads, basic and digest authentication, cookies, managing cookies across requests, proxies, gzip and deflate encodings, redirects, monitoring the request progress with Observers.

In the other systems

SystemPortVersion
DragonFlywww/pear-HTTP_Request22.6.0,1
FreeBSDwww/pear-HTTP_Request22.7.0,1
NetBSDwww/pear-HTTP_Request22.7.0
HardenedBSDwww/pear-HTTP_Request22.7.0,1
GhostBSDwww/pear-HTTP_Request22.7.0,1

Install

Binary package:

pkg install php81-pear-HTTP_Request2

From DPorts:

cd /usr/dports/www/pear-HTTP_Request2 && make install clean

Dependencies

Run dependencies 3

Configuration

No options to configure.

Service scripts
none
Flavors
php82-pear-HTTP_Request2-2.6.0,1, php83-pear-HTTP_Request2-2.6.0,1, php84-pear-HTTP_Request2-2.6.0,1