BSD Ports

www/pear-HTTP_Request2 2.7.0,1 FreeBSD

PEAR classes providing an easy way to perform HTTP requests

System
FreeBSD
Repository
FreeBSD ports
Maintainer
[email protected]
License
BSD3CLAUSE
Categories
www, pear
Package size
116.5 KiB, 570.7 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
FreeBSDwww/pear-HTTP_Request22.7.0,1
NetBSDwww/pear-HTTP_Request22.7.0
DragonFlywww/pear-HTTP_Request22.6.0,1

Install

Binary package:

pkg install php82-pear-HTTP_Request2

From the ports tree:

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

To depend on this port in another port's Makefile:

RUN_DEPENDS=	php82-pear-HTTP_Request2>0:www/pear-HTTP_Request2

Packages

The version each package repository carries. “-” means the repository builds no package of it, “n/a” that there is no such repository.

Repositoryaarch64amd64armv6armv7i386
FreeBSD:14:latest2.7.0,12.7.0,12.5.1,12.7.0,12.7.0,1
FreeBSD:14:quarterly2.7.0,12.7.0,1n/a2.7.0,12.7.0,1
FreeBSD:15:latest2.7.0,12.7.0,1n/a2.7.0,12.7.0,1
FreeBSD:15:quarterly2.7.0,12.7.0,1n/an/an/a
FreeBSD:16:latest2.7.0,12.7.0,1n/an/an/a
FreeBSD:16:quarterlyn/an/an/an/an/a

Dependencies

As this port's Makefile names them.

Runtime 1

The full lists below include those, and their dependencies in turn.

Build dependencies 9
Run dependencies 11

Configuration

Options name: www_HTTP_Request2

OptionDefaultDescription
CURLoffPHP CURL extension support
FILEINFOoffPHP FILEINFO extension support
ZLIBoffPECL ZLIB support
USES
pear
Service scripts
none
Flavors
php83-pear-HTTP_Request2-2.7.0,1, php84-pear-HTTP_Request2-2.7.0,1, php85-pear-HTTP_Request2-2.7.0,1, php86-pear-HTTP_Request2-2.7.0,1

Files

distinfo 1
FileSizeSHA256
PEAR/HTTP_Request2-2.7.0.tgz1292628896509b55fa06d9a80e4e9535abd86dd0666dba9e616f7631a13fc3cf704d59

Commit history 0

No commits in the history this site was built from.