verbb / consume
A Craft CMS plugin for making HTTP requests from Twig and consuming JSON, XML or CSV.
Fund package maintenance!
Requires
- php: ^8.2
- craftcms/cms: ^5.0.0
- symfony/property-access: ^6.0 || ^7.0
- symfony/serializer: ^6.0 || ^7.0
- verbb/auth: ^2.0.48
- verbb/base: ^3.0.20
Requires (Dev)
None
Suggests
None
Provides
None
Conflicts
None
Replaces
None
- dev-craft-5
- 2.0.25
- 2.0.24
- 2.0.23
- 2.0.22
- 2.0.21
- 2.0.20
- 2.0.19
- 2.0.18
- 2.0.17
- 2.0.16
- 2.0.15
- 2.0.14
- 2.0.13
- 2.0.12
- 2.0.11
- 2.0.10
- 2.0.9
- 2.0.8
- 2.0.7
- 2.0.6
- 2.0.5
- 2.0.4
- 2.0.3
- 2.0.2
- 2.0.1
- 2.0.0
- 2.0.0-beta.2
- 2.0.0-beta.1
- 1.0.19
- 1.0.18
- 1.0.17
- 1.0.16
- 1.0.15
- 1.0.14
- 1.0.13
- 1.0.12
- 1.0.11
- 1.0.10
- 1.0.9
- 1.0.8
- 1.0.7
- 1.0.6
- 1.0.5
- 1.0.4
- 1.0.3
- 1.0.2
- 1.0.1
- 1.0.0
- dev-craft-4
- dev-craft-6
This package is auto-updated.
Last update: 2026-11-30 11:52:44 UTC
README
Consume for Craft CMS
Consume is a Craft CMS plugin that brings authenticated HTTP requests into Craft templates without scattering credentials and connection details through your Twig. Configure reusable clients once, fetch remote data when you need it, and turn common response formats into workable arrays.
Features
- Connect to established providers without rebuilding the authorisation flow.
- Keep API keys and other request credentials in a reusable client.
- Fetch remote content with a Guzzle-backed request directly from a template.
- Turn JSON, XML, and CSV responses into values Twig can work with.
- Reuse remote responses and avoid unnecessary calls to upstream services.
- Register project-specific providers or extend the generic client types.
Providers
Consume includes OAuth clients for more than 80 API providers.
- Amazon
- Apple
- Auth0
- AWeber
- Azure
- Basecamp
- Bitbucket
- Box
- Buddy
- Buffer
- Constant Contact
- Deezer
- DeviantArt
- Discord
- Disqus
- DocuSign
- Dribbble
- Drip
- Dropbox
- Envato
- Etsy
- Eventbrite
- FedEx
- Fitbit
- Foursquare
- FreshBooks
- GitHub
- GitLab
- GoToWebinar
- Gumroad
- Harvest
- Heroku
- HubSpot
- Imgur
- Infusionsoft
- Jira
- LINE
- Linode
- Mailchimp
- Mail.ru
- Marketo
- Mastodon
- Meetup
- Microsoft
- Mollie
- Odnoklassniki
- PayPal
- Pipedrive
- Salesforce
- Shopify
- Slack
- Snapchat
- SoundCloud
- Spotify
- Square
- Stack Exchange
- Strava
- Stripe
- SugarCRM
- TikTok
- Trello
- Trustpilot
- Tumblr
- Twitch
- Uber
- Unsplash
- Vend
- Vimeo
- VKontakte
- Yahoo
- Yelp
- Zendesk
- Zoho
We also provide a "Generic" OAuth client in case your provider isn't in the list above.
Documentation
Visit the Consume Plugin page for all documentation, guides, pricing and developer resources.
Support
Get in touch with us via the Consume Support page or by creating a GitHub issue.