sanchescom/laravel-guzzle
Larablocks Analysis
sanchescom/laravel-guzzle works with Laravel 5 (latest release 0.1.0, Jul 18, 2019), which reached end of life: no more fixes, even for security.
Recommendation checks
Not advisedNot advised: no release or commit in over 2 years.
- No release or commit in over 2 years
- Supports only Laravel 5, past end of life
- No release in the last 12 months (last: Jul 18, 2019)
- 0 downloads a month (needs 10,000)
- 1 GitHub star (needs 100)
State
Likely abandoned- No release or commit in over 2 years.
- Last stable release: Jul 18, 2019.
- No releases in the last 12 months.
- First released: Jul 18, 2019.
- 0 open issues on GitHub.
Data from Packagist and GitHub, checked by Larablocks on Nov 29, 2026.
| Install | |
|---|---|
composer require sanchescom/laravel-guzzle |
|
| Latest Version: | 0.1.0 |
| PHP: | ~5.6|~7.0 |
| Laravel: | 5 |
| License: | MIT |
| Last Updated: | Aug 26, 2019 |
| Links: | GitHub · Packagist |
Laravel guzzle
A Laravel facade for GuzzleHttp Client.
Installing
Require this package, with Composer, in the root directory of your project.
$ composer require sanchescom/laravel-guzzle
Laravel 5.x:
After updating composer, add the ServiceProvider to the providers array in config/app.php
'providers' => [
...
Sanchescom\Guzzle\Providers\GuzzleServiceProvider::class,
],
Lumen:
After updating composer add the following lines to register provider in bootstrap/app.php
$app->register(Sanchescom\Guzzle\Providers\GuzzleServiceProvider::class);
Usage
GET Status code
<?php
use Sanchescom\Guzzle\Facades\Guzzle;
/**
* $statusCode = int(200)
*/
$statusCode = Guzzle::get('https://some.thing')->getStatusCode();
POST with custom config
<?php
use Sanchescom\Guzzle\Facades\Guzzle;
$config = [
"base_uri" => "https://some.thing.new",
];
$data = [
"email" => "some@thing.new",
];
/**
* $statusCode = int(201)
*/
$statusCode = Guzzle::config($config)->post('users', $data)->getStatusCode();
Alternatives to sanchescom/laravel-guzzle
A Guzzle middleware that logs requests to debugbar's timeline
This package is intended to handle guzzle client creation, its api calls & their...
Laravel SDK for EchoProxy — captures HTTP traffic and ships it to ingest-api. Se...
A developer-experience focused HTTP client, optimized for most common use cases.
Version History
| Version | Released | PHP | Laravel | License |
|---|---|---|---|---|
| 0.1.0 | ~5.6| | ~5.0 | MIT | |
| 0.0.1 | ~5.6| | ~5.0 | MIT |