Skip to content

Sinevia/php-library-http

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

14 Commits
 
 
 
 
 
 

Repository files navigation

PHP Library HTTP

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();

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages