New

Just launched: Vueblocks, a brand-new search engine for Vue packages! Explore Vueblocks →

kozz/laravel-guzzle-provider

Guzzle 5/6 Service Provider for Laravel
1,113,279 62

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 advised

Not 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
Maintainer: urakozz

Laravel - Guzzle 6 (or 5) Service Provider

Downloads Packagist Version

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

hannesvdvreken/guzzle-debugbar

A Guzzle middleware that logs requests to debugbar's timeline

453,141 76
cline/relay

A modern, attribute-driven HTTP client for PHP

13,517 0
sarahman/guzzle-client-trait

This package is intended to handle guzzle client creation, its api calls & their...

5,055 0
echoproxy/sdk-laravel

Laravel SDK for EchoProxy — captures HTTP traffic and ships it to ingest-api. Se...

1,402 0
spondonit/zttp

A developer-experience focused HTTP client, optimized for most common use cases.

6,451 0

Version History

Version Released PHP Laravel License
7.3.0 ^7.2|^8.0 ^5.0 | ^6.0| ^7.0 | ^8.0 | ^9.0|^10.0|^11.0 MIT
7.2.0 ^7.2|^8.0 ^5.0 | ^6.0| ^7.0 | ^8.0 | ^9.0|^10.0 MIT
7.1.0 ^7.2|^8.0 ^5.0 | ^6.0| ^7.0 | ^8.0 | ^9.0 MIT
7.0.0 ^7.2|^8.0 ^5.0 | ^6.0| ^7.0 | ^8.0 MIT
6.1.4 ^7.2|^8.0 ^5.0 | ^6.0| ^7.0 | ^8.0 MIT