jekys/http-client

Simple HTTP Client via cURL

Installs: 34

Dependents: 0

Suggesters: 0

Security: 0

Stars: 0

Watchers: 1

Forks: 0

Open Issues: 0

pkg:composer/jekys/http-client

v1.0.2 2020-08-18 11:14 UTC

This package is auto-updated.

Last update: 2025-09-18 22:07:00 UTC


README

Build Status Coverage Status Packagist Version License

Install

composer require jekys/http-client

Usage

require_once 'vendor/autoload.php'

$url = 'http://localhost';

$client = new Jekys\Http\Client\Curl();

//GET request with params
$client->get($url, ['foo' => 'bar']);

//POST request with params
$client->post($url, ['foo' => 'bar']);

//PUT request with params
$client->put($url, ['foo' => 'bar']);

//PATCH request with params
$client->patch($url, ['foo' => 'bar']);

//DELETE request with params
$client->delete($url, ['foo' => 'bar']);