justmd5 / jttp
Package description here.
v0.1
2018-07-09 09:37 UTC
Requires
- php: >=5.6
- ext-curl: *
- ext-json: *
This package is auto-updated.
Last update: 2024-12-16 20:13:23 UTC
README
just a simple http request tool
Requirement
- PHP >= 7.0
- Composer
- ext-curl 拓展
- ext-json 拓展
Installing
$ composer require justmd5/jttp -vvv
Usage
<?php
use Justmd5\Jttp\Jttp;
require __DIR__.'/vendor/autoload.php';
print_r(Jttp::request('get','https://httpbin.org/ip'));
//{"origin": "1.2.3.4"}
License
MIT