- 14.5 hours on-demand video
- 8 articles
- 3 downloadable resources
- Full lifetime access
- Access on mobile and TV
- Certificate of Completion
Get your team access to 4,000+ top Udemy courses anytime, anywhere.Try Udemy for Business
- 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
Learn more about the instructor, his experience and knowledge, and the motivations for the creation of this course.
Through Git Shell you can run multiple advanced commands that are not available on Windows systems. It is highly recommended to install this tool to follow the course without problems and access a variety of commands that are not available natively on Windows. If you use another operating system, you can skip this step. However, that can also be a great tool
Homestead is a vagrant box that will allow us to quickly build a complete virtual machine designed for Laravel projects primarily. Homestead is a project of the organization Laravel and is regularly updated with great contributions from the community and the maintainers
During this class, you will know the main commands needed to manage your virtual machine with Vagrant. Commands for creating, destroying, starting and shutting down, along with connecting through SSH to it. It is recommended to use Git Shell, especially on Windows, for the SSH connection.
SublimeCodeIntel is a standalone tool for Sublime Text that facilitates browsing through the definition of different classes, methods, and variables of the project, as well as the internal code of Laravel or other packages.
With PHPCompanion, you get access to multiple functionalities among which, the possibility of automatically resolving the location of the definitions that have the sentences "use" of your project. Avoiding having to access them manually or have to memorize them.
Let's go one by one with the different models/entities/resources that will conform the RESTful API, its attributes names, characteristics, and relationships between them.
End-Points are all possible routes or URLs that the API will provide to bring different options, resources, and utilities. During this class you will see a complete list of all of these, how every end-point work, their names, actions, methods/verbs and some more details.
PHP Artisan is one of the attractions of Laravel. It allows generating code, along with direct interaction with the application from simple console commands. During this class, you will see how to access the list of PHP Artisan commands, how to get specific help for any command and more.
Environment variables are values that should usually change between one environment and another, for example, access to the database is surely different on your local computer than on your production server. In this class, you will see How these variables work, where they are located and how they are used from the different Laravel configuration files.
During this class, you will see how to generate the initial structure of the models of the system, along with their migrations through the use of PHP artisan commands. Remember that the order of the migrations is crucial, so you must pay attention to the order in which each model is created with its respective migrations.
As in the previous class, it is also possible to create the initial structure of the controllers using PHP artisan commands. During this class, you will see the creation of resource controllers that allows implementing the CRUD operations for every resource.
As with resource drivers, resource type paths also exist. As expected, these routes make it easy to link a given URL and resource with a particular action of a controller. You will see how some paths only use a small set of methods, but not all of them.
- Very recommended a fundamental domain of Object Oriented Programming
- Fundamental knowledge about PHP (classes, functions, methods, traits, inheritance)
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 4.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, 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).
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
Use the Laravel Policies and Gates to handle the user's authorization layer.
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.
- This course is for all web development and PHP lovers
- This course is for all those who need to develop their own API completely RESTful
- If you want to build your own fully functional and step-by-step RESTful API
- If you need to keep your skills up to date and be competitive
- If you want to do a complete development of your projects and your RESTful API with Laravel