Watch: Fetch Remote Data Using Guzzle

Ashraff Hathibelagal
Ashraff Hathibelagal
Published in
·Updated:

Share this article

SitePoint Premium
Stay Relevant and Grow Your Career in Tech
  • Premium Results
  • Publish articles on SitePoint
  • Daily curated jobs
  • Learning Paths
  • Discounts to dev tools

7 Day Free Trial. Cancel Anytime.

Fetching data from a remote server has become a very common task these days. Unless you are very new to web programming, you must have, at some point, written code to fetch something from a remote server, be it JSON, XML, text or even an image. Most PHP developers are used to using cURL to perform such tasks. However, there’s a better alternative: the Guzzle HTTP client. It has a more intuitive API, and using it means writing less code.

In this screencast, I’m going to show you how to download an RSS feed using Guzzle. You can find the code sample for this screencast on GitHub.

Loading the player…

Hathibelagal is an independent developer and blogger who loves tinkering with new frameworks, SDKs, and devices. Read his blog here.

angelamInstructional videoSitepoint Premium

Share this article

Subscribe to our newsletter

Get the freshest news and resources for developers, designers and digital creators in your inbox each week

© 2000 – 2025 SitePoint Pty. Ltd.
This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.