RESTful API with Laravel: Build a Real API with Laravel (Udemy.com)
Build a RESTful API for a market system using Laravel and dominate the most challenging features of APIs with Laravel
Created by: JuanD MeGon
Last updated November 2022
What you will learn
- Create your own projects with Laravel (not only RESTful APIs)
- Make the most of your work tools (Sublime Text 3, Git, Github, Composer, PHP artisan and Laravel)
- Generate and maintain the structure of the database in an automated way with Laravel and the PHP Artisan console
- Use PHP Artisan effectively and be much more efficient
- Create and configure your own local development environment
- Properly configure your development environment for all your projects
- Hone the main HTTP methods/verbs for HTTP and RESTful APIs
- Use free professional tools to improve your productivity
How it compares
Against the other 60 rated Udemy courses in Laravel on CourseDuck:
- Rating4.4 out of 5higher than 28% of them
- Reviews1,307#8 of 61 by number of reviews
- Length14.8 hourslonger than 50% of them
- Last updatedNovember 2022earlier than 48% of them
Course Description
So you need to build a RESTful API for a project, but you do not know even where to start? Do not worry I will guide you through the whole process to build a genuine RESTful API using Laravel.
Join the more than 5.000 students already taking this course, building their RESTful APIs using Laravel, and enjoying every single class!
Note: You can take, and in fact it is recommended, to follow the course using the most recent version of Laravel. Additionally, the course includes extensive sections about how to upgrade your project to different versions of Laravel, in case you decide to use any previous version.
Build your RESTful API with Laravel, using a complete marketplace as the case of use. With Laravel, creating every component will be a breeze. You will have a project with users, sellers, buyers, transactions, products, and categories. Explore all types of relationships, one to many, many to many and much much more using Eloquent the Laravel ORM.
The full guide for creating a real RESTful API with Laravel. You can follow the course using the latest Laravel version (it is recommended).
You will not find a Laravel course like this. This course explains everything you need to develop a RESTful API using the Laravel framework.
At the end of the course, you will have a RESTful API with Laravel, for a market system, where users can purchase and sell different products with different categories and transactions. Inclusive, the same user can be both a seller and a buyer (you will take advantage of inheritance for this).
¡Do Not wait anymore! Become a master in the development of genuinely RESTful APIs with Laravel. Join the course now and see you in class
Remember: The course has been constantly updated to use the latest versions of Laravel. So feel free to use the version you like (especially the latest version of Laravel).
In this course, you learn how to develop a realistic, fully implemented, and professional RESTful API with Laravel.
Laravel is the most popular PHP framework, with more than 20 million downloads along with lots of enterprise and personal projects worldwide. Additionally, it includes fantastic features to implement a RESTful API easily. Laravel is RESTful friendly.
What is a RESTful API?
A Web API is like a web service that works entirely with HTTP. A RESTful API must follow the REST (REpresentational State Transfer) practices, allowing to orientate the design to the resources, provide standard responses based on the different HTTP status codes, and the corresponding according to Hypermedia Links in responses (HATEOAS).
Why Laravel?
Because Laravel is a framework made by programmers for programmers, expressive, simple, intuitive, and powerful. Laravel provides useful features for web projects including RESTful APIs.
Each new Laravel version includes many changes that make this framework even better, simple, programmer-friendly, and at the same time much more powerful. In fact, the latest versions of Laravel included a lot of new features to help to develop RESTful APIs in the right way.
During this course, you will master the complete structure of Laravel, along with the new features included in the latest version of Laravel to develop an actual RESTful API.
You will learn this about the development of a RESTful API with Laravel:
Using the Laravel PHP artisan for code and components generation
Usage and creation of middleware on Laravel
The Laravel Resource routes and controllers (ideal for RESTful APIs)
Fully supported JSON format responses for a JSON RESTful API
Validation of requests directly from the Laravel Controllers
Handling all types of exceptions and errors from Laravel handler
Complex operations involving up to three resources/models for a specific operation
Usage of Laravel dependency injection and model binding
Generation of the database structure using Laravel migrations
Automatic insertion of fake data into the database through "faker," using Laravel factories, and seeders
Laravel Sessions and access_token authentication for the RESTful API. Yes, Both!
Using Laravel Passport to protect the RESTful API with OAuth2
Pagination of results using Laravel collections
Using URL parameters to execute actions (the RESTful approach)
Sorting results based on URL parameters with a RESTful approach
Filtering results using URL parameters
Caching responses using Laravel Cache System
Limitation of requests using the Laravel middleware
Implementing HATEOAS on Laravel (a pure RESTful API must use HATEOAS)
Using PHP Fractal for transforming responses
Usage of CORS on the API responses to allow JavaScript-based clients and web browsers.
Use the Laravel Policies and Gates to handle the user's authorization layer.
Much more!!
You can take a look at the full list of contents below. You will finish with a complete RESTful API and understanding a lot of Laravel skills.
You will create an actual RESTful API from scratch and step by step using Laravel. Follow the REST architecture and build appropriate URLs to identify actions and resources using the Laravel best features and learn Laravel in the way.
Take full advantage of tools like Sublime Text 3, Git, power shell, Laravel, Composer, PHP artisan, and be more productive for agile development.
Note: In few classes of the course I use Windows (only for the first classes), but I included specific directions in the case you use Linux or Mac and all the tools used are cross-platform, so you will no have any problem.
You will have lifetime access to the current classes and the classes that I will regularly add (take a look at the last section to see what is coming).
At the end of this course, you will be able to develop your pure RESTful API with Laravel in an efficient way with the best practices, taking advantage of the facilities provided by Laravel for the proper implementation of your projects and your RESTfulAPI.
Instructor Details
- 4.4 Rating
1,307 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
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
Secure VPS in Ubuntu 18.04 with Letsencrypt Nginx PHP MySQL (2020)
4.6 (168 Reviews)
Provider: Udemy
Time: 5.3h
$64.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 Prasad Dixit on 7/26/2024
I learned a lot in short period through this course! The breakdown into manageable subsections and way of explaining worked well for me. My only complain is the course needs to be updated with latest version of Laravel (V-11) at this time as lot of things have changed and I had to go back and worth between Laravel 11 docs and course concepts to figure out things to make it work with Laravel 11. Apart from them, great course! Thank you very much!
By Ivo B on 2/24/2022
(still) an awesome course on Laravel and API's in general. I've built a couple of API's myself over the years but the code always ended up a little messy and hard to maintain. Thanks to Don Juan my fire for building API's has reignited! ;) I followed this course using Laravel 8 (9 just came out) which presented some interesting issues since Juan is using Laravel 5. Nothing unsolvable though and it, in my opnion, gives the student of this course an extra challenge to update and get the code working again. Thanks Juan, love your teaching style and the fire with which you present your courses!
By Anonymized User on 8/23/2020
the content of the course is rich, and well structured. However the strong accent makes it hard to follow. I'm come from a spanish speaking country so i had no problem following through. I do recomend improving your accent to take your clases to a whole new level, besides that it was an amazing experience, and i look forward to your next courses.
By Laurens Leemans on 7/9/2020
Good course on API implementation in Laravel. Please keep in mind that most of this class is written with Laravel 5.4 in mind, so you'll run into some incompatibilities with the current version of Laravel, which are solved through looking through the comments. Juan is a good teacher, although in some parts he went a bit fast and in other parts his accent is sometimes pretty distracting (for example: buyer is not booyer).
By Kenny Almendral on 7/8/2019
I've taken this long course during my free time for an ongoing project because it covers a lot of API related jargon like subroutines and communication protocols, rate limiting/request throttling, HATEOAS, OAuth2 and CORS including some complex Eloquent object-relational mapping operations, Laravel policies/gates and the usage of Laravel packages like Laravel Passport, Laravel Fractal, Guzzle, etc. My only criticism has something to do with the instructor's accent but anyways, great course!
By Live for now on 11/2/2018
The course is wonderful, short but full of knowledge. I don't understand much about RESTapi but after learning this course I can do it very well. The teacher is great and experience. He always answer question in Q&A very fast and very exact. I like him very much. I think the course will be better when it has more exercise, big exercise or projects and answer for learner doing at end of the course. 5 starts for the Instructor. And thank you for my Instructor very much.
By Michael Craig on 9/14/2018
In terms of content, this course is terrific! Very comprehensive. You begin immediately programming within the framework. However, I always prefer testing what has been done in short iterations. When being introduced to a new concept, the instructor will have you complete all lectures within the module before running and testing, allowing you to see the fruits of your labor. Overall, I was able to get a really solid understanding of design patterns, methodology, etc, and I would highly recommend this course to anyone interested in learning more about PHP, Laravel, or Restful APIs.
By Matthias Kuhs on 10/13/2017
Juan is one of the best teachers on topics related to Laravel on Udemy - as far as I am concerned. This course is another shining example for that. He is well organised and the lectures are usually concise and concentrated on a single topic and the sections have a logical structure. He es very quick in responding to all your questions and his answers are insightful and to the point. There is only one intermittent problem - and that is his pronunciation of his English (his grammar is mostly good). But sometimes you completely miss a point because of the way he pronounces things. But this is really the only thing you can criticise in his courses - from a professional point of view he is above board and his experience with real-world projects is obvious.
By KeenTech Co. on 8/28/2017
He does not explain the subjects clearly, and he do something that I don't know what is it and how to use in my app
By Kawagan Saleh on 8/26/2017
it is great course, really it covers many things in Laravel with RESTful API , the coding is perfect, explanation is amazing , i very very love it ,Instructor is genius in code, i introduce an advice to every person that learn from this amazing course ,i want the more from this course or the author thanks too much for your great and amazing effort we wait you for every thing new please add the pending lessons in this course. and create more course , you are genius in code and you have wonderful way in programming thanks JuanD MeGon
Quality Score
No CourseDuck member has rated this course yet. Taken it? Give each part a thumbs up or down.
Overall Score : 88 / 100












