Use Laravel to Consume APIs and Services Over HTTP (Udemy.com)
Create an HTTP client with Laravel and Guzzle HTTP to consume any API and online service over HTTP requests from Laravel
Created by: JuanD MeGon
Last updated November 2022
What you will learn
- Consume any HTTP service (yours or from a third party)
- Re-utilize the components created during the course to consume any HTTP service you want
- Authenticate users in your HTTP Client using information obtained from external HTTP services
- Build and HTTP Client with Laravel, completely modular and maintainable
- Domain the usage of access tokens and OAuth2 when sending requests and authorizing the requests of your HTTP Client
How it compares
Against the other 60 rated Udemy courses in Laravel on CourseDuck:
- Rating4.5 out of 5higher than 56% of them
- Reviews127#47 of 61 by number of reviews
- Length5.5 hoursshorter than 75% of them
- Last updatedNovember 2022earlier than 48% of them
Course Description
Do you need to consume an HTTP Service or API and it overwhelms you to think about HTTP methods, requests, OAuth2, access tokens, credentials, grant types, user sessions and so on?
I cover you! In this course, I show you that everything is about using the correct values and tools to make everything much simpler.
Create your HTTP client with Laravel: Build and design a web project with Laravel, to consume online services and APIs.
Obtain data from HTTP services or APIs (yours or from third parties) and show it in a friendly and correct way to your users.
Learn step-by-step, everything you need to consume any web service or API online, with PHP from a Laravel project and using Guzzle.
At the end of the course, you will have multiple components that you can re-utilize in your projects to consume any HTTP service or API.
Do not wait any longer and sign up :)
Why should you choose this course?
Because it gives you a detailed view, as in no other course, of how to consume an HTTP service or API using Laravel and PHP.
Because it gives you the essential components that you can re-utilize in your other projects when consuming any HTTP service or API
Because you will be able and confident enough to use any service or API protected by OAuth2 and access tokens.
Because I not only show you how to create your HTTP Client with Laravel, but I also help you identify the different challenges of an HTTP Client and how to solve them properly.
Because simply, there is no other course that covers all these topics.
What will you be able to do at the end of the course?
In general, you will be able to implement an HTTP client that allows you to consume any HTTP service or API, either your own or from third parties, using PHP and Laravel. In addition, you will have a clear idea of how to proceed when facing new projects and services to be consumed, reusing as much as possible the components created and learned during this course.
You will know how to use a high-level library such as Guzzle, to send HTTP requests from PHP with Laravel. Implementing generic components that allow sending requests of any kind to any HTTP service with Guzzle.
In the end, you will have gained complete confidence in sending secure and correctly authorized requests to different HTTP services, either using simple access tokens or even using an entire security mechanism such as OAuth2. Everything, using PHP and Laravel.
During the course, you will learn this...
For the HTTP Client:
How to consume a service or API through HTTP requests from Laravel
How to authenticate and create user sessions in your HTTP Client with information from other services
How to automate the process of obtaining an access token to authorize the requests of your HTTP Client
The different ways to obtain an access token from a service that uses OAuth2 and its differences (grant types)
How to handle the expiration times of a token and avoid losing access to information
How to handle access errors to the consumed HTTP service or API and how to proceed
How to handle and authenticate protected requests associated with a user's information from the HTTP Client
Use of Guzzle from Laravel, to send HTTP requests to whatever HTTP service or API
How to configure and prepare Laravel to make requests to any HTTP service or API
Use of Bootstrap 4 to show the information obtained from the consumed services
Handling and preparing to resolve exceptions and errors when consuming external services with Laravel
For any Laravel project:
How to install Laravel in your development environment for professional projects
Configure Laravel, in your environment for an agile and simple development
Build of a professional, modular and, a scalable project with Laravel
Creation of routes, views, templates, controllers and more with Laravel
Handling errors and internal exceptions of the Laravel project
Installation of dependencies to a Laravel project (Guzzle case)
Of course, that's not all. Take a look at the full description of sections and classes for more details.
It does not end there! You will have lifetime access to current classes and those I can add later to the course.
Subscribe now and do not wait any longer to consume those services that you need and obtain the information that your users require.
Still having doubts?
Do not worry, here I share some more information about HTTP Client with Laravel.
Why an HTTP Client with Laravel?
About HTTP:
HTTP (HyperText Transfer Protocol) is a widely used protocol on the Internet and any current language has a mechanism to make requests on HTTP in a simple way which, of course, includes PHP and Laravel (a framework for PHP).
Since HTTP is a protocol that is currently widely used, any current system or language will be able to communicate correctly with other systems that use this protocol (regardless of the programming language), allowing the use of data and information from whatever system online. Such information, obtained from any HTTP service, can be used in your projects to offer any type of information and service to the users of your systems. This makes you an HTTP client since you will be consuming any HTTP service or API from your own project.
About Laravel:
Laravel is the most popular framework for PHP, even one of the most popular in the world. With Laravel, you will be able to develop very complex PHP applications in a very short time, which includes an HTTP Client. During the course, you will see the enormous facilities that Laravel provides when obtaining and using the information of importance for your users, as well as facilitating the process of integrating external systems easily.
Laravel has innumerable characteristics that differentiate it from multiple frameworks for PHP and other languages, which allow implementing very complex tasks in a simple way and in a short time.
Instructor Details
- 4.5 Rating
127 Reviews
JuanD MeGon
EN:
More than 30,000 students cannot be wrong!
That is how many students have taken my courses, leaving more than 5,000 top-rated reviews.
Enroll today to learn how to become a web development expert, get high-paying jobs and projects, grow your own business, or work as a freelancer from home or your office.
Join a community of students from 150 countries and get practical skills you can use immediately.
ES:
¡Más de 30.000 estudiantes no pueden estar equivocados!
Esa es la cantidad de estudiantes que han tomado mis cursos y dejando más de 5.000 calificaciones positivas.
Inscríbete hoy mismo para aprender cómo convertirte en experto en desarrollo web y obtener esos trabajos y proyectos mejor pagados, hacer crecer tu propio negocio o trabajar de forma independiente desde tu casa o tu propia oficina.
Únete a una comunidad de estudiantes de más de 150 países diferentes y obtén habilidades prácticas que puedas usar de inmediato.
More courses by JuanD MeGon
RESTful API with Laravel: Build a Real API with Laravel (2022)
4.4 (1,307 Reviews)
Provider: Udemy
Time: 14.8h
$79.99
Lumen Microservices: Create Services and APIs with Lumen (2021)
4.6 (981 Reviews)
Provider: Udemy
Time: 4.2h
$11.99
Start with TALL: Use Tailwind, Alpine, Laravel & Livewire (2022)
4.3 (314 Reviews)
Provider: Udemy
Time: 4.3h
$74.99
Laravel & Realtime: Build Several Realtime Apps with Laravel (2022)
4.3 (257 Reviews)
Provider: Udemy
Time: 4.9h
$84.99
Master Laravel & Create High-Level Applications with Laravel (2022)
4.6 (225 Reviews)
Provider: Udemy
Time: 16.4h
$64.99
Laravel Payment and Subscription Processing: PayPal & Stripe (2022)
4.5 (202 Reviews)
Provider: Udemy
Time: 6.8h
$69.99
More Laravel courses
PHP with Laravel - Create a Restaurant Management System (2020)
4.8 (313 Reviews)
Provider: Udemy
Time: 9.6h
$74.99
Laravel - Build Real Estate Property Listing Project A-Z (2026)
4.8 (297 Reviews)
Provider: Udemy
Time: 47h
$79.99
Laravel - Online Hotel Booking Platform (A to Z) (2026)
4.8 (145 Reviews)
Provider: Udemy
Time: 37.5h
$64.99
Laravel 7 for Beginners practical course (2020)
4.7 (505 Reviews)
Provider: Udemy
Time: 11.1h
$64.99
Reviews
By Raman Ratnakar Singh on 6/5/2022
The instructor is knowledgeable, he explains the concepts clearly , only problem is his accent, but so far so good
By Seka Herve on 4/3/2022
Très bon cours sur la consommation d'API avec une architecture orientée Services
By Donovan Langager on 10/22/2020
Great support throughout the whole course. Amazing work would highly recommend it!
By Matthew on 9/4/2020
Highly recommended course for anyone looking to implement an http client to consume an API. The project is very practical and useful allowing requests for products, categories, users & purchases. It covers all crud methods. The instructor is very enthusiastic and quick to respond to questions . I was hesitant before taking the course as I was not 100% sure it was what I needed ... but this course does exactly what it says it does - creates a http client that can consume any API. Thanks Juan - great job!
By Bernard Austin on 6/3/2020
The label for this class is send requests to ANY http service and api, but the class does not follow through. The example is for a custom API setup by the instructor. It is mildly helpful, but may lead you down a rabbit hole.
By John Callaway on 1/20/2020
Terrific course! Juan was a great instructor, and I will be able to directly apply what I learned to an app I'm building. Highly recommended!
By Ghazi Kawashita on 7/11/2019
Yes yes yes. straight to the point. I would suggest you adjust each lesson's bugs by recording again and give more example like another api in order to see how this project can fit in other services but it is already excellent. Thank you Juan
By E Tob on 6/3/2019
A very good course that covers a lot of things other tutorials on youtube skips. I.e. many other tutorials will just consume an API via the controller, while here it's set up properly via traits and services, making it more robust. The only drawback is that I'd love to see a tutorial for how to pull API data this way into a database via eloquent models.
By Ronald Bradley on 5/27/2019
Instructor is obviously very knowledgeable, but the extremely thick accent with poor pronunciation of common words will make it hard for me to make it through this course. Update: somehow I made it halfway through.
By Himanshu Batra on 5/25/2019
Good Course. Just need little improvement with some code. I think, you can improve a little better on it, thats why i am giving u 1/2 less star.
Quality Score
No CourseDuck member has rated this course yet. Taken it? Give each part a thumbs up or down.
Overall Score : 90 / 100












