ksmz/nana

This package is abandoned and no longer maintained. No replacement package was suggested.

Yet another guzzle wrapper

v0.3 2019-07-23 13:25 UTC

This package is auto-updated.

Last update: 2023-01-20 20:35:00 UTC


README

nana.png

Build Status Test Coverage Style CI Status

Yet another guzzle wrapper.

Documentation is still in the works. Checkout the tests for a rough idea.

A Laravel package is available here. It provides some neat features like being able to save files to your existing filesystems.

$response = Nana::get('https://httpbin.org/get');

$response->status() // 200
$response->json()->url // "https://httpbin.org/get"

$response->body() // Raw JSON string
$response->getHeaderLine('Date') // All calls are forwarded to the underlying PSR-7/Guzzle Response instance

Install

composer require ksmz/nana