kozz/laravel-guzzle-provider
Larablocks Analysis
kozz/laravel-guzzle-provider works with Laravel 5 to 11 (latest release 7.3.0, Mar 4, 2024), all past end of life (the last on Mar 12, 2026): no more fixes, even for security.
Laravel 4 in earlier releases.
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 to 11, past end of life since Mar 12, 2026
- No release in the last 12 months (last: Mar 4, 2024)
- 2,546 downloads a month (needs 10,000)
- 62 GitHub stars (needs 100)
State
Likely abandoned- No release or commit in over 2 years.
- Last stable release: Mar 4, 2024.
- No releases in the last 12 months.
- First released: Aug 6, 2014.
- Monthly downloads: 2,546, up 37% from six months ago.
- 1 open issue on GitHub.
Data from Packagist and GitHub, checked by Larablocks on Nov 28, 2026.
| Install | |
|---|---|
composer require kozz/laravel-guzzle-provider |
|
| Latest Version: | 7.3.0 |
| PHP: | ^7.2|^8.0 |
| Laravel: | 5 – 11 |
| Older releases: | 4 |
| License: | MIT |
| Last Updated: | Mar 4, 2024 |
| Links: | GitHub · Packagist |
Laravel - Guzzle 6 (or 5) Service Provider
laravel guzzle service provider
Install With Composer:
Guzzle ~5.0
composer require kozz/laravel-guzzle-provider ~5.0
Or manualy in composer.json:
"require": {
"kozz/laravel-guzzle-provider": "~5.0"
}
Guzzle ~6.0
composer require kozz/laravel-guzzle-provider ~6.0
Or manualy in composer.json:
"require": {
"kozz/laravel-guzzle-provider": "~6.0"
}
Setup
Laravel >=5.5
This package supports auto discovery, so no configuration is required.
Laravel <5.5
Register Service Provider
/configs/app.php
...
'providers' => [
/*
* Laravel Framework Service Providers...
*/
...
/*
* Application Service Providers...
*/
...
'Kozz\Laravel\Providers\Guzzle'
],
Enable Facade
/configs/app.php
...
'aliases' => [
...
'Guzzle' => 'Kozz\Laravel\Facades\Guzzle'
],
Usage
Send request
$response = \Guzzle::get('https://google.com');
Get instance
$client = app()->offsetGet('guzzle');
$client = \Illuminate\Container\Container::getInstance()->offsetGet('guzzle');
$client = \Kozz\Laravel\Facades\Guzzle::getFacadeRoot();
$client = \Guzzle::getFacadeRoot();
POST
$response = Guzzle::post(
'https://httpbin.org/post',
[
'form_params' => [
'id' => 222
]
]
);
Basic auth
$response = Guzzle::post(
'https://httpbin.org/post',
[
'auth' => [ 'theUsername', 'thePassword'],
]
);
generates:
+"Authorization": "Basic dGhlVXNlcm5hbWU6dGhlUGFzc3dvcmQ="
Alternatives to kozz/laravel-guzzle-provider
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 |
|---|---|---|---|---|
| 7.3.0 | ^7.2| | ^5.0 | | MIT | |
| 7.2.0 | ^7.2| | ^5.0 | | MIT | |
| 7.1.0 | ^7.2| | ^5.0 | | MIT | |
| 7.0.0 | ^7.2| | ^5.0 | | MIT | |
| 6.1.4 | ^7.2| | ^5.0 | | MIT | |
| 6.1.3 | ^7.2.0 | ^5.0 | | MIT | |
| 6.1.2 | ^7.2.0 | ^5.0 | | MIT | |
| 6.1.1 | ^7.2.0 | ^5.0 | | MIT | |
| 6.1.0 | >=5.5.0 | ~5.0 | MIT | |
| 6.0 | >=5.5.0 | ~5.0 | MIT | |
| 5.0 | >=5.4.0 | ~5.0 | MIT | |
| 1.0.1 | >=5.4.0 | ~5.0 | MIT | |
| v0.0.1 | >=5.4.0 | ~4.0 | MIT |