Class Central is learner-supported. When you buy through links on our site, we may earn an affiliate commission.

Udemy

RESTful API with Laravel: Build a Real API with Laravel

via Udemy

Overview

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

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

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 than5.000 studentsalready taking this course, building their RESTful APIs usingLaravel,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 completemarketplace as the case of use. With Laravel, creating every component will be a breeze.You will have a projectwith 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, thesame user can be both a seller and a buyer (you will take advantage of inheritancefor 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 hasbeenconstantly updatedto 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 (REpresentationalState 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 thiscourse, you will master the complete structure of Laravel, along with the new features included in the latest version of Laravel to develop an actualRESTful API.

You will learn this about the development of a RESTful APIwithLaravel:

  • Using the LaravelPHP artisan for code and components generation

  • Usage and creation of middleware on Laravel

  • The LaravelResource routes andcontrollers (ideal for RESTful APIs)

  • Fully supported JSON format responses for a JSON RESTful API

  • Validation of requests directly fromthe LaravelControllers

  • Handling all types of exceptions and errors from Laravel handler

  • Complex operations involvingup 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 Laravelfactories, and seeders

  • Laravel Sessionsand access_tokenauthentication for theRESTful API.Yes, Both!

  • Using Laravel Passport to protect the RESTful API withOAuth2

  • 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

  • ImplementingHATEOAS on Laravel(apure 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 actualRESTful API from scratch and step by step using Laravel. Followthe 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 sectionto 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 ofthe facilities provided by Laravelfor the proper implementation of your projects and your RESTfulAPI.

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

Taught by

JuanD MeGon and ProgramarYa By JuanDMeGon

Reviews

4.6 rating at Udemy based on 1224 ratings

Start your review of RESTful API with Laravel: Build a Real API with Laravel

Never Stop Learning.

Get personalized course recommendations, track subjects and courses with reminders, and more.

Someone learning on their laptop while sitting on the floor.