justmd5/jttp

Package description here.

v0.1 2018-07-09 09:37 UTC

This package is auto-updated.

Last update: 2024-11-16 20:03:15 UTC


README

just a simple http request tool

styleci PHP from Packagist Latest Stable Version GitHub stars Latest Unstable Version License

Requirement

  1. PHP >= 7.0
  2. Composer
  3. ext-curl 拓展
  4. 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