Course Information
- Available
- *The delivery and distribution of the certificate are subject to the policies and arrangements of the course provider.
Course Overview
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.
Course Content
- 45 section(s)
- 227 lecture(s)
- Section 1 Introduction
- Section 2 Downloading and Installing the Tools to Develop the RESTful API with Laravel
- Section 3 Creating and Setting the Initial Structure of Laravel for the RESTful API
- Section 4 Configuring and Using Sublime Text 3 to Develop the RESTful API with Laravel
- Section 5 Understanding the Case Study for the RESTful API
- Section 6 Discovering and Configuring the Laravel Structure for the RESTful API
- Section 7 Creating the Initial Laravel Components for the RESTful API
- Section 8 Implementing the RESTful API Models and its Relationships using Laravel Eloquent
- Section 9 Creating the Database Structure Using Migrations from Laravel
- Section 10 Creating the Laravel Factories for Database Seeding
- Section 11 Implementing the Operations for UserController
- Section 12 Implementing the operations for Buyer
- Section 13 Implementing the operations for Seller
- Section 14 Improving the current RESTful API operations
- Section 15 Handling Errors and Exceptions with the Laravel Handler
- Section 16 Implicit Model Binding with Routes and Methods
- Section 17 Implementing Soft Deleting for All the Models
- Section 18 Implementing the Operations for Category
- Section 19 Implementing the Operations for Product
- Section 20 [Exercises] Implementing the Operations for Transaction
- Section 21 Implementing Complex Operations within Transaction
- Section 22 Implementing Complex Operations for Buyer
- Section 23 Implementing Complex Operations for Category
- Section 24 Implementing Complex Operations for Seller
- Section 25 Implementing Complex Operations for Product
- Section 26 Adding an Image for Products
- Section 27 Sending Email for Users Accounts Verification
- Section 28 The Middleware and the Rate Limiting
- Section 29 Transforming Responses with PHP Fractal for Security and Compatibility
- Section 30 Sorting and Filtering Results Based on Query Parameters
- Section 31 Pagination of Results
- Section 32 Caching Results with Laravel Cache System
- Section 33 Implementing HATEOAS Hypermedia Controls
- Section 34 The Transformations and the Validations
- Section 35 Preparing the API for User Authentication Using Sessions
- Section 36 Using Laravel Passport to Implement the Initial Security Layer with OAuth2
- Section 37 Restricting OAuth2 Clients Using Scopes
- Section 38 Implementing the Final Security Layer Using Policies and Gates of Laravel
- Section 39 CORS for Laravel
- Section 40 Additions and Fixes for the Laravel RESTful API
- Section 41 [Optional] Upgrading to Laravel 5.5
- Section 42 [Optional] Upgrading to Laravel 5.6
- Section 43 [Optional] Upgrading to Laravel 5.7
- Section 44 [Optional] Upgrading to Laravel 6
- Section 45 Conclusion
What You’ll 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
Skills covered in this course
Reviews
-
hhusseinHelal
his accent is bad
-
PPrasad Dixit
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!
-
RRicky Nguyen
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!
-
CCutie Math
I LOVE this course!! I can't believe how detailed it is. I didn't have any background in php and API, Juan the instructor has walked me through everything I need to know to create this API. I am so so grateful I found this course!! There are updates on upgrading Laravel as well. I've learnt so much, not just how to make an API, but also how to write good code, check for documentations and use varies tools, I now can make my own API that's suitable for my projects. Juan is so patient and very quick in response. I love this more than go to my university's lecture. Thank you!!! If Juan has other courses coming up I'd take it without doubt!