rp76/guzzle

This package will help you to get data easier than usual from guzzle.

0.3 2024-07-29 05:58 UTC

This package is auto-updated.

Last update: 2024-10-29 06:41:50 UTC


README

guzzle

Guzzle, PHP HTTP client

Guzzle is a PHP HTTP client that makes it easy to send HTTP requests and trivial to integrate with web services.

Simple interface for building query strings, POST requests, streaming large uploads, streaming large downloads, using HTTP cookies, uploading JSON data, etc...

But It's hard to read response form end points.

This package will help you to get data easier than usual.

Instaliation

composer require rp76/guzzle

Usage

$client = new \Rp76\Guzzle\Client(); // make new instance

$request = new \GuzzleHttp\Psr7\Request('GET', 'https://rp76.ir');

return $client->easySend($request); // get body of response

Availbe methods

getEffectiveUrl: return request url after redirect.

License

The MIT License (MIT). Please see License File for more information.