Class Central is learner-supported. When you buy through links on our site, we may earn an affiliate commission.

LinkedIn Learning

Consuming RESTful APIs in PHP with Guzzle

via LinkedIn Learning

This course may be unavailable.

Overview

Learn how to consume REST APIs using Guzzle, a PHP HTTP client that makes it easy to send HTTP requests and integrate with web services.

Syllabus

Introduction
  • Welcome
  • What you should know before watching this course
  • Using the exercise files
1. Guzzle Basics
  • Guzzle and HTTP
  • What is REST?
  • Installing Guzzle
  • Our first Guzzle request
2. Requests with Guzzle
  • Sending basic requests
  • Sending asynchronous requests
  • Sending concurrent requests
  • Sending query data
  • Sending request data
  • Advanced Guzzle request options
3. Responses with Guzzle
  • Basic Guzzle responses
  • Processing response headers
  • Exceptions and Guzzle
4. Guzzle and PSR-7
  • What is PSR-7?
  • PSR-7 requests
  • PSR-7 responses
  • PSR-7 bodies
  • PSR-7 headers
  • PSR-7 streams
  • PSR-7 middleware
5. Testing and Guzzle
  • Basic Guzzle mock responses
  • Advanced Guzzle mock responses
  • Guzzle request testing
Conclusion
  • Next steps

Taught by

Justin Yost

Reviews

Start your review of Consuming RESTful APIs in PHP with Guzzle

Never Stop Learning.

Get personalized course recommendations, track subjects and courses with reminders, and more.

Someone learning on their laptop while sitting on the floor.