ksmz/nana

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

Yet another guzzle wrapper

Maintainers

Details

github.com/matical/nana

Source

Issues

Installs: 241

Dependents: 1

Suggesters: 0

Security: 0

Stars: 0

Watchers: 1

Forks: 0

Open Issues: 0

pkg:composer/ksmz/nana

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