PHPackages                             wyveo/craft-guzzle - 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. wyveo/craft-guzzle

ActiveCraft-plugin[HTTP &amp; Networking](/categories/http)

wyveo/craft-guzzle
==================

Utilise the Guzzle HTTP client from within your Craft templates.

1.1.4(7y ago)053MITPHP

Since Jan 15Pushed 7y ago1 watchersCompare

[ Source](https://github.com/wyveo/craft-guzzle)[ Packagist](https://packagist.org/packages/wyveo/craft-guzzle)[ RSS](/packages/wyveo-craft-guzzle/feed)WikiDiscussions v1 Synced yesterday

READMEChangelog (2)Dependencies (1)Versions (10)Used By (0)

[![icon](https://camo.githubusercontent.com/00c4581238400409f42ba4197b0346dd440f9b0b9ab69984a3fefa81033bcf8b/68747470733a2f2f73746f726167652e676f6f676c65617069732e636f6d2f707562732d65752f696d672f69636f6e2e737667)](https://camo.githubusercontent.com/00c4581238400409f42ba4197b0346dd440f9b0b9ab69984a3fefa81033bcf8b/68747470733a2f2f73746f726167652e676f6f676c65617069732e636f6d2f707562732d65752f696d672f69636f6e2e737667)

Guzzle plugin for Craft CMS 3.x
===============================

[](#guzzle-plugin-for-craft-cms-3x)

Utilise the Guzzle HTTP client from within your Craft templates. *(Forked from [Luke Youell](https://github.com/lukeyouell/craft-fetch))*

Requirements
------------

[](#requirements)

This plugin requires Craft CMS 3.0.0 or later.

Installation
------------

[](#installation)

To install the plugin, follow these instructions.

1. Open your terminal and go to your Craft project:

    ```
     cd /path/to/project

    ```
2. Then tell Composer to load the plugin:

    ```
     composer require wyveo/craft-guzzle

    ```
3. In the Control Panel, go to Settings → Plugins and click the "Install" button for Guzzle.

Using Guzzle
------------

[](#using-guzzle)

This plugin is built to work with the standard [Guzzle request options](http://docs.guzzlephp.org/en/stable/request-options.html)

### Parameters

[](#parameters)

ParameterExample value`client``{ base_uri : 'https://gtmetrix.com', timeout : 10 } ``method``'POST'``destination``'api/0.1/test'``options``{ auth : ['username', 'password'] }``format``'raw'`### Example Usage

[](#example-usage)

#### Request

[](#request)

```
{% set client = {
    base_uri : 'https://gtmetrix.com',
    timeout : 10
} %}

{% set options = {
    auth : ['username', 'password'],
    form_params : {
      url : 'https://www.google.co.uk'
    }
} %}

{% set request = guzzle(client, 'POST', 'api/0.1/test', options) %}
```

#### Response (successful)

[](#response-successful)

```
{
   "statusCode":200,
   "reason":"OK",
   "body":{
      "credits_left":30,
      "test_id":"JDHFbrt7",
      "poll_state_url":"https:\/\/gtmetrix.com\/api\/0.1\/test\/JDHFbrt7"
   }
}
```

#### Response (error)

[](#response-error)

```
{
   "error":true,
   "reason":"Client error: `POST https:\/\/gtmetrix.com\/api\/0.1\/test` resulted in a `401 Authorization Required` response:\n{\u0022error\u0022:\u0022Invalid e-mail and\/or API key\u0022}\n\n"
}
```

Guzzle Roadmap
--------------

[](#guzzle-roadmap)

More features soon:

Brought to you by [wyveo](https://github.com/wyveo)

###  Health Score

30

—

LowBetter than 62% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity8

Limited adoption so far

Community10

Small or concentrated contributor base

Maturity69

Established project with proven stability

 Bus Factor1

Top contributor holds 75.8% 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 ~25 days

Recently: every ~39 days

Total

9

Last Release

2887d ago

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/12916656?v=4)[Colin Wilson](/maintainers/colinwilson)[@colinwilson](https://github.com/colinwilson)

---

Top Contributors

[![lukeyouell](https://avatars.githubusercontent.com/u/24975058?v=4)](https://github.com/lukeyouell "lukeyouell (25 commits)")[![colinwilson](https://avatars.githubusercontent.com/u/12916656?v=4)](https://github.com/colinwilson "colinwilson (6 commits)")[![eablokker](https://avatars.githubusercontent.com/u/2616961?v=4)](https://github.com/eablokker "eablokker (2 commits)")

---

Tags

GuzzlecmsCraftcraftcmscraft-plugin

### Embed Badge

![Health badge](/badges/wyveo-craft-guzzle/health.svg)

```
[![Health](https://phpackages.com/badges/wyveo-craft-guzzle/health.svg)](https://phpackages.com/packages/wyveo-craft-guzzle)
```

###  Alternatives

[verbb/formie

The most user-friendly forms plugin for Craft.

100387.6k59](/packages/verbb-formie)[jalendport/craft-fetch

Utilise the Guzzle HTTP client from within your Craft templates.

2327.7k1](/packages/jalendport-craft-fetch)[verbb/vizy

A flexible visual editor field for Craft.

4249.7k](/packages/verbb-vizy)[verbb/hyper

A user-friendly links field for Craft.

24142.6k12](/packages/verbb-hyper)[verbb/social-poster

Automatically post entries to social media.

918.5k](/packages/verbb-social-poster)[verbb/icon-picker

A slick field to pick icons from. Supports SVGs, Sprites, Webfonts, Font Awesome and more.

16168.8k6](/packages/verbb-icon-picker)

PHPackages © 2026

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