filbertkm / httplib
Lightweight http library
Installs: 31
Dependents: 0
Suggesters: 0
Security: 0
Stars: 0
Watchers: 1
Forks: 0
Open Issues: 1
pkg:composer/filbertkm/httplib
This package is not auto-updated.
Last update: 2025-10-06 11:17:04 UTC
README
Small php wrapper library around curl.
Usage
$url = 'http://www.openstreetmap.org/api/0.6/capabilities';
$httpClient = new HttpClient( 'HttpClientBot', 'http-client-test' );
$response = $httpClient->get( $url );
Returns response as a string, if successful, or false.
Also supports post and multipart requests.
License
Release notes
0.2
- Added download method.