sinevia / php-library-http
PHP Library HTTP
Installs: 969
Dependents: 1
Suggesters: 0
Security: 0
Stars: 0
Watchers: 1
Forks: 1
Open Issues: 0
pkg:composer/sinevia/php-library-http
This package is auto-updated.
Last update: 2025-09-18 09:13:40 UTC
README
HTTP client
Background
Installation
Install via Composer
composer require sinevia/php-library-http
Or add the following to your composer file:
"require": { "sinevia/php-library-http": "1.3.0" },
Usage
The lines bellow create an HTTP Client:
$http = new \Sinevia\HttpClent("http://localhost/"); $http->setPath('/yourpath/'); $http->post(array('user'=>'UN','pass'=>'PW'); // Data to be sent as array echo $http->getResponseBody();