jiji / http
jiji make a http client
Installs: 679
Dependents: 0
Suggesters: 0
Security: 0
Stars: 21
Watchers: 1
Forks: 1
Open Issues: 0
pkg:composer/jiji/http
Requires
- php: >=7.0
- ext-curl: *
- guzzlehttp/guzzle: ^6.3
This package is auto-updated.
Last update: 2025-12-14 05:58:40 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