PHPackages                             macromindonline/laravel-guzzle-provider - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [HTTP &amp; Networking](/categories/http)
4. /
5. macromindonline/laravel-guzzle-provider

ActiveLibrary[HTTP &amp; Networking](/categories/http)

macromindonline/laravel-guzzle-provider
=======================================

Guzzle Service Provider for Laravel 6

6.0(10y ago)016MITPHPPHP &gt;=5.5.0

Since Aug 6Pushed 8y ago1 watchersCompare

[ Source](https://github.com/macromindonline/laravel-guzzle)[ Packagist](https://packagist.org/packages/macromindonline/laravel-guzzle-provider)[ RSS](/packages/macromindonline-laravel-guzzle-provider/feed)WikiDiscussions master Synced yesterday

READMEChangelogDependencies (3)Versions (5)Used By (0)

Laravel - Guzzle 6 (or 5) Service Provider
==========================================

[](#laravel---guzzle-6-or-5-service-provider)

[![Downloads](https://camo.githubusercontent.com/13aa8433c9442ad8a8cd074f9edb29893e7cc626e583e114814a348ee705c635/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f6b6f7a7a2f6c61726176656c2d67757a7a6c652d70726f76696465722e737667)](https://packagist.org/packages/kozz/laravel-guzzle-provider)[![Version](https://camo.githubusercontent.com/51f94906525df71968f2000c4f743176ef580000fd6371a8afd18921c868ec81/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f6b6f7a7a2f6c61726176656c2d67757a7a6c652d70726f76696465722e737667)](https://packagist.org/packages/kozz/laravel-guzzle-provider)

laravel guzzle service provider

Install With Composer:
----------------------

[](#install-with-composer)

### Guzzle ~5.0

[](#guzzle-50)

```
composer require kozz/laravel-guzzle-provider ~5.0
```

Or manualy in composer.json:

```
"require": {
    "kozz/laravel-guzzle-provider": "~5.0"
}
```

### Guzzle ~6.0

[](#guzzle-60)

```
composer require kozz/laravel-guzzle-provider ~6.0
```

Or manualy in composer.json:

```
"require": {
    "kozz/laravel-guzzle-provider": "~6.0"
}
```

Register Service Provider
-------------------------

[](#register-service-provider)

*/configs/app.php*

```
    ...
    'providers' => [

        /*
         * Laravel Framework Service Providers...
         */
        ...

        /*
         * Application Service Providers...
         */
        ...
        'Kozz\Laravel\Providers\Guzzle'
    ],
```

Enable Facade
-------------

[](#enable-facade)

*/configs/app.php*

```
    ...
    'aliases' => [
        ...
        'Guzzle' => 'Kozz\Laravel\Facades\Guzzle'
    ],
```

Usage
-----

[](#usage)

### Send request

[](#send-request)

```
  $response = \Guzzle::get('https://google.com');
```

### Get instance

[](#get-instance)

```
    $client = app()->offsetGet('guzzle');
    $client = \Illuminate\Container\Container::getInstance()->offsetGet('guzzle');
    $client = \Kozz\Laravel\Facades\Guzzle::getFacadeRoot();
    $client = \Guzzle::getFacadeRoot();
```

### POST

[](#post)

```
$response = Guzzle::post(
    'https://httpbin.org/post',
    [
        'form_params' => [
            'id' => 222
        ]
    ]
);
```

#### Basic auth

[](#basic-auth)

```
$response = Guzzle::post(
    'https://httpbin.org/post',
    [
        'auth' => [ 'theUsername', 'thePassword'],
    ]
);
```

generates: `+"Authorization": "Basic dGhlVXNlcm5hbWU6dGhlUGFzc3dvcmQ="`

###  Health Score

27

—

LowBetter than 49% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity6

Limited adoption so far

Community10

Small or concentrated contributor base

Maturity61

Established project with proven stability

 Bus Factor1

Top contributor holds 91.7% of commits — single point of failure

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

###  Release Activity

Cadence

Every ~100 days

Total

4

Last Release

3996d ago

Major Versions

v0.0.1 → 1.0.12015-04-16

1.0.1 → 5.02015-04-16

5.0 → 6.02015-06-03

PHP version history (2 changes)v0.0.1PHP &gt;=5.4.0

6.0PHP &gt;=5.5.0

### Community

Maintainers

![](https://www.gravatar.com/avatar/ae0f7f1f69309bec448ac224b62d1eb8d0dd6e9477097d4a502cd0f78913042e?d=identicon)[macromindonline](/maintainers/macromindonline)

---

Top Contributors

[![urakozz](https://avatars.githubusercontent.com/u/5797393?v=4)](https://github.com/urakozz "urakozz (22 commits)")[![BojanKogoj](https://avatars.githubusercontent.com/u/634075?v=4)](https://github.com/BojanKogoj "BojanKogoj (1 commits)")[![thbourlove](https://avatars.githubusercontent.com/u/1768066?v=4)](https://github.com/thbourlove "thbourlove (1 commits)")

---

Tags

httplaravelGuzzle

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/macromindonline-laravel-guzzle-provider/health.svg)

```
[![Health](https://phpackages.com/badges/macromindonline-laravel-guzzle-provider/health.svg)](https://phpackages.com/packages/macromindonline-laravel-guzzle-provider)
```

###  Alternatives

[kozz/laravel-guzzle-provider

Guzzle 5/6 Service Provider for Laravel

621.1M2](/packages/kozz-laravel-guzzle-provider)[laravel-shift/curl-converter

A command line tool to convert curl requests to Laravel HTTP requests.

935.3k](/packages/laravel-shift-curl-converter)[behamin/service-proxy

for proxy or sending requests to other services with useful utilities

102.2k](/packages/behamin-service-proxy)[laragear/api-manager

Manage multiple REST servers to make requests in few lines and fluently.

161.8k](/packages/laragear-api-manager)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
