jiji / http
jiji make a http client
1.1.0
2018-12-06 01:36 UTC
Requires
- php: >=7.0
- ext-curl: *
- guzzlehttp/guzzle: ^6.3
This package is auto-updated.
Last update: 2025-09-14 05:32:22 UTC
README
jiji make a http client
Installation & loading
jijihttpclient is available on Packagist (using semantic versioning), and installation via Composer is the recommended way to install jijihttpclient. Just add this line to your composer.json
file:
"jiji/http": "^1.1"
or run
composer require jiji/http
A Simple Example
<?php require __DIR__."/../vendor/autoload.php"; class Test{ public function get() { $client = new \Jiji\Http\Client(); $client->get("https://www.apiopen.top/weatherApi", ['city'=>'成都']); } public function post() { $client = new \Jiji\Http\Client(); $client->post("https://www.apiopen.top/weatherApi", ['city'=>'成都']); } }
License
Licensed under the MIT license