RESTful API with Laravel: Build a Real API with Laravel

  • Overview
  • Curriculum
  • Instructor
  • Review

About This Course

Build a RESTful API for a market system using Laravel and dominate the most challenging features of APIs with Laravel

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.

Do not wait any longer. Join the course and see you in classes.

  • 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

Course Curriculum

2 Lectures

2 Lectures

1 Lectures

Instructors

Profile photo of ProgramarYa By JuanDMeGon
ProgramarYa By JuanDMeGon

EN:ProgramarYa is here to teach you Programming and Web Development as nobody else does in the school nor college. Help you to achieve all your goals and dreams giving you the skills to get there.After more than eight years of teaching online, ProgramarYa knows the essentials, strategies, and skills you must learn to achieve all that you want.All the courses...

Instructors

Profile photo of JuanD MeGon
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...

Review
4.9 course rating
4K ratings
ui-avatar of Prasad Dixit
Prasad D.
5.0
11 months ago

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!

  • Helpful
  • Not helpful
ui-avatar of Dimas Reza Kurniawan
Dimas R. K.
5.0
1 year ago

its easy to understand

  • Helpful
  • Not helpful
ui-avatar of Dien Chu Tien ㅤ
Dien C. T. �.
3.0
1 year ago

The course out of date

  • Helpful
  • Not helpful
ui-avatar of Danang Rubawa Tamtama
Danang R. T.
5.0
1 year ago

this course explain how to use APIs very detail

  • Helpful
  • Not helpful
ui-avatar of Maryjane IDOWU
Maryjane I.
4.0
1 year ago

It was good and Broken down to be as explanatory as possible. was quite easy to follow and fully understandable, I highly recommend.

  • Helpful
  • Not helpful
ui-avatar of Manuel Becerra Marrufo
Manuel B. M.
5.0
2 years ago

Appreciate the instructor going through detailed exercises. It's not too repetitive, I think it's actually very relevant to go through many examples and edge cases to get a better hang of things. I think it's a great start point with good context and detail. I think however for entry level engineers/developers, architectural decisions made here are an example and should not be taken as a must do for projects, analyze pros of certain DB design decisions, product and other scalability decisions complementing with courses on those matters or other references. But on laravel's subject, this is a great reference to start and also as a web developer it's a great resource to get into the world of software engineering and/or web development.

  • Helpful
  • Not helpful
ui-avatar of Jayvee Ramos
Jayvee R.
4.5
2 years ago

This course was amazing, Keep it up sir, its not outdated its incredible

  • Helpful
  • Not helpful
ui-avatar of Edyta Jordan
Edyta J.
5.0
2 years ago

Excellent, above expectations! This is a very well-thought-out and executed course.

Even though the course is based on the old Laravel version (5.4), I didn't have any problems following it on the latest, Laravel 9 version (of course, I had to research and adjust the code to make it work with the newest Laravel, but that's why we're programmers right? :-) )

I did a couple of other Juan's courses, and he's one of my favorite instructors.

  • Helpful
  • Not helpful
ui-avatar of Ricky Nguyen
Ricky N.
5.0
2 years ago

I just completed this course today on September 5, 2022. Although this course was created some 5 or 6 years ago, I still have found this course to be absolutely amazing! The instructor's English and pronunciation isn't perfect, but if you look past the surface you will find the instructor to be extremely knowledgeable and the contents will more than make up for it.
I am using Laravel 8 instead of Laravel 5 that the instructor was using, but I was still able to make everything work. Yes, it did take me extra time to research and align his codes to more updated ones, but it was absolutely doable. In fact, I found it actually helped me look deeper into understand development using Laravel.
I'm not one to write feedback at all but I just felt compelled to do it here seeing how this course current rating doesn't do it justice. I hope you will find joy in learning from this course as much as I did. Good luck!

  • Helpful
  • Not helpful
ui-avatar of Rahwee
Rahwee
5.0
2 years ago

I give 5 even this course still in older version of laravel. I follow the course by using newer version of laravel. When I stuck in any part of tutorial, he always response to any of my questions. So that, I can keep going through the course. Thank for ur course, Happy learning.

  • Helpful
  • Not helpful
Leave A Reply

Your email address will not be published. Required fields are marked *

Ratings

Courses You May Like

Lorem ipsum dolor sit amet elit
Show More Courses