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
Requires
- php: >=7.1
- guzzlehttp/guzzle: ^6.3
Requires (Dev)
- laravel/lumen-framework: 5.*
- phpunit/phpunit: ~7.0
- psy/psysh: ^0.9
README
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