Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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.
- Host: GitHub
- URL: https://github.com/blueridgemountains1/xttp-laravel
- Owner: blueridgemountains1
- Created: 2020-02-18T09:46:12.000Z (almost 5 years ago)
- Default Branch: master
- Last Pushed: 2020-02-19T14:21:46.000Z (almost 5 years ago)
- Last Synced: 2024-11-05T12:05:50.428Z (about 2 months ago)
- Topics: guzzle, guzzle-middleware, guzzle-php-library, guzzlehttp, laravel, laravel-framework, php
- Language: PHP
- Homepage: https://johnathansmith.com/xttp/
- Size: 10.7 KB
- Stars: 1
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
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.