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
| System | Port | Version |
|---|---|---|
| FreeBSD | www/pear-HTTP_Request2 | 2.7.0,1 |
| NetBSD | www/pear-HTTP_Request2 | 2.7.0 |
| DragonFly | www/pear-HTTP_Request2 | 2.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.
| Repository | aarch64 | amd64 | armv6 | armv7 | i386 |
|---|---|---|---|---|---|
| FreeBSD:14:latest | 2.7.0,1 | 2.7.0,1 | 2.5.1,1 | 2.7.0,1 | 2.7.0,1 |
| FreeBSD:14:quarterly | 2.7.0,1 | 2.7.0,1 | n/a | 2.7.0,1 | 2.7.0,1 |
| FreeBSD:15:latest | 2.7.0,1 | 2.7.0,1 | n/a | 2.7.0,1 | 2.7.0,1 |
| FreeBSD:15:quarterly | 2.7.0,1 | 2.7.0,1 | n/a | n/a | n/a |
| FreeBSD:16:latest | 2.7.0,1 | 2.7.0,1 | n/a | n/a | n/a |
| FreeBSD:16:quarterly | n/a | n/a | n/a | n/a | n/a |
Dependencies
As this port's Makefile names them.
Runtime 1
${PEAR_PKGNAMEPREFIX}Net_URL2>=2.2.0: net/pear-Net_URL2
The full lists below include those, and their dependencies in turn.
Build dependencies 9
Run dependencies 11
Configuration
Options name: www_HTTP_Request2
| Option | Default | Description |
|---|---|---|
| CURL | off | PHP CURL extension support |
| FILEINFO | off | PHP FILEINFO extension support |
| ZLIB | off | PECL 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
| File | Size | SHA256 |
|---|---|---|
| PEAR/HTTP_Request2-2.7.0.tgz | 129262 | 8896509b55fa06d9a80e4e9535abd86dd0666dba9e616f7631a13fc3cf704d59 |
Commit history 0
No commits in the history this site was built from.