xxutianyi/php-simple-request

Simple Request Library

v1.0.0 2023-12-22 11:56 UTC

This package is auto-updated.

Last update: 2025-03-22 14:54:14 UTC


README

Packaged Http Json Request Library use Guzzlehttp

Install

composer require xxutianyi/simple-request

Use

use SimpleRequest\Request

$content = Request::get('url','query','headers');
$content = Request::post('url','query','json','headers');
$content = Request::put('url','query','json','headers');
$content = Request::delete('url','query','headers');