Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/blueridgemountains1/xttp-laravel

Laravel Package: A guzzle wrapper with typehints and syntactic sugar in PHP.
https://github.com/blueridgemountains1/xttp-laravel

guzzle guzzle-middleware guzzle-php-library guzzlehttp laravel laravel-framework php

Last synced: about 1 month ago
JSON representation

Laravel Package: A guzzle wrapper with typehints and syntactic sugar in PHP.

Awesome Lists containing this project

README

        

# [xttp](https://github.com/jr-smith/xttp) for Laravel

### A guzzle wrapper with typehints and syntactic sugar.

Regular use is simple:
```php
['foo' => 'bar'], 'headers' => ['Content-Type' => 'application/x-www-form-urlencoded']]);

// You may also do get, put, patch, delete.
```

However, this package provides a **lot** of flexibility and ability for easy mocking. It also allows
for easy use of things like middleware and JSON en/decoding.

Please [view the original package](https://github.com/jr-smith/xttp) for more details, how-to's, and documentation.

Xttp was inspired by Adam Wathan's [zttp](https://github.com/kitetail/zttp). A special thanks to the maintainers of Guzzle.