PHPackages                             verbb/consume - 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. verbb/consume

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

verbb/consume
=============

Create HTTP requests in your Twig templates to consume JSON, XML or CSV content.

2.0.15(1w ago)41.3k2[4 issues](https://github.com/verbb/consume/issues)proprietaryPHPPHP ^8.2

Since Feb 6Pushed 1mo ago2 watchersCompare

[ Source](https://github.com/verbb/consume)[ Packagist](https://packagist.org/packages/verbb/consume)[ GitHub Sponsors](https://github.com/verbb)[ RSS](/packages/verbb-consume/feed)WikiDiscussions craft-5 Synced today

READMEChangelog (10)Dependencies (25)Versions (40)Used By (0)

[![Consume icon](https://camo.githubusercontent.com/e2583d9d8c7c331c769cdb2d44759cefb2dca60ae299544c174f22cde8fe3cc2/68747470733a2f2f6173736574732e76657262622e696f2f706c7567696e732f636f6e73756d652f636f6e73756d652d69636f6e2e737667)](https://camo.githubusercontent.com/e2583d9d8c7c331c769cdb2d44759cefb2dca60ae299544c174f22cde8fe3cc2/68747470733a2f2f6173736574732e76657262622e696f2f706c7567696e732f636f6e73756d652f636f6e73756d652d69636f6e2e737667)

Consume for Craft CMS
=====================

[](#consume-for-craft-cms)

Consume is a Craft CMS plugin for making HTTP requests in your Twig templates. Integrates with the [Auth](https://github.com/verbb/auth) module to make it possible to use OAuth clients without having to worry about refresh tokens, token management, etc.

It's your complete solution to fetch and consume data from third-party API providers.

Features
--------

[](#features)

- Create OAuth or Credential clients to make requests with. Save settings in the control panel to use in your templates.
- Create [Guzzle](https://docs.guzzlephp.org/en/stable/) requests in your Twig templates for on-demand data fetching.
- Parse JSON, XML and CSV responses from endpoints into arrays. Also supports HTML and raw text!
- Automatic cache control to save requests, or control it yourself with `{% cache %}` tags.
- Create your own OAuth or Credential clients with our `Generic` clients.
- Provides events to write your own clients.

Supports
--------

[](#supports)

Consume supports 80+ popular OAuth-based API providers for you to create clients for.

- Amazon
- Apple
- Auth0
- Aweber
- Azure
- Basecamp
- Bitbucket
- Box
- Buddy
- Buffer
- ConstantContact
- Deezer
- DeviantArt
- Discord
- Disqus
- Docusign
- Dribbble
- Drip
- Dropbox
- Envato
- Etsy
- Eventbrite
- Facebook
- Fitbit
- Foursquare
- FreshBooks
- GitHub
- GitLab
- Google
- GoToWebinar
- Gumroad
- Harvest
- Heroku
- HubSpot
- Imgur
- Infusionsoft
- Instagram
- Jira
- Line
- LinkedIn
- Linode
- Mailchimp
- Mailru
- Marketo
- Mastodon
- Meetup
- Microsoft
- Mollie
- Odnoklassniki
- PayPal
- Pinterest
- Pipedrive
- Reddit
- Salesforce
- Shopify
- Slack
- Snapchat
- SoundCloud
- Spotify
- Square
- StackExchange
- Strava
- Stripe
- Sugarcrm
- TikTok
- Trello
- Trustpilot
- Tumblr
- Twitch
- Twitter
- Uber
- Unsplash
- Vend
- Vimeo
- Vkontakte
- WeChat
- Weibo
- Yahoo
- Yelp
- Zendesk
- Zoho

We also provide a "Generic" OAuth client in case your provider isn't in the list above.

Documentation
-------------

[](#documentation)

Visit the [Consume Plugin page](https://verbb.io/craft-plugins/consume) for all documentation, guides, pricing and developer resources.

Support
-------

[](#support)

Get in touch with us via the [Consume Support page](https://verbb.io/craft-plugins/consume/support) or by [creating a Github issue](https://github.com/verbb/consume/issues)

[ ![Verbb](https://camo.githubusercontent.com/98f2680f5948987cd8f4b418d67159eb0befb6da92060f286671b05bf39d40bd/68747470733a2f2f76657262622e696f2f6173736574732f696d672f76657262622d70696c6c2e737667)](https://verbb.io)

###  Health Score

49

—

FairBetter than 94% of packages

Maintenance75

Regular maintenance activity

Popularity23

Limited adoption so far

Community13

Small or concentrated contributor base

Maturity70

Established project with proven stability

 Bus Factor1

Top contributor holds 97.6% 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 ~34 days

Recently: every ~12 days

Total

37

Last Release

13d ago

Major Versions

1.0.14 → 2.0.42025-07-18

1.0.15 → 2.0.52025-07-18

1.0.16 → 2.0.62025-08-13

1.0.17 → 2.0.72025-09-16

1.0.18 → 2.0.122026-05-03

PHP version history (2 changes)1.0.0PHP ^8.0.2

2.0.0-beta.1PHP ^8.2

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/26374352?v=4)[Verbb](/maintainers/verbb)[@verbb](https://github.com/verbb)

---

Top Contributors

[![engram-design](https://avatars.githubusercontent.com/u/1221575?v=4)](https://github.com/engram-design "engram-design (162 commits)")[![jamesmacwhite](https://avatars.githubusercontent.com/u/8067792?v=4)](https://github.com/jamesmacwhite "jamesmacwhite (2 commits)")[![markhuot](https://avatars.githubusercontent.com/u/48975?v=4)](https://github.com/markhuot "markhuot (2 commits)")

---

Tags

cmsCraftcraftcmscraft-pluginconsume

### Embed Badge

![Health badge](/badges/verbb-consume/health.svg)

```
[![Health](https://phpackages.com/badges/verbb-consume/health.svg)](https://phpackages.com/packages/verbb-consume)
```

###  Alternatives

[verbb/formie

The most user-friendly forms plugin for Craft.

102393.6k69](/packages/verbb-formie)[craftcms/cms

Craft CMS

3.6k3.6M3.1k](/packages/craftcms-cms)[api-platform/core

Build a fully-featured hypermedia or GraphQL API in minutes!

2.6k51.2M338](/packages/api-platform-core)[verbb/social-poster

Automatically post entries to social media.

918.5k](/packages/verbb-social-poster)[api-platform/symfony

Symfony API Platform integration

384.5M128](/packages/api-platform-symfony)[api-platform/serializer

API Platform core Serializer

274.8M86](/packages/api-platform-serializer)

PHPackages © 2026

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