How to Create Laravel API

1h 40m 20s
English
Paid

Everyone now is searching for API developers, just look at the Laravel jobs or freelance offers. So, in this course, you will learn how create APIs with Laravel framework.

Read more about the course

What exactly you will learn:

  • How to create Laravel RESTful API: requests with GET/POST, API Resources, Validation etc
  • How to authorize API users: with Sanctum or Passport
  • How to use Postman to work with API requests
  • How to generate API documentation: with Scribe or OpenAPI/Swagger
  • Various small tips and tricks

Notice: What this course is NOT about:

  • It's not a Laravel for beginners course. I assume you are already are a Laravel developer and want to apply your skills for API projects specifically. For Laravel beginners, take this course, for free
  • It's not a SPA or Vue.js course. I will demonstrate some front-end Vue to consume Laravel API, but won't create full SPA throughout this course. Planning to shoot a separate course on that, a bit later.

Watch Online How to Create Laravel API

Join premium to watch
Go to premium
# Title Duration
1 Intro: Why API? 05:09
2 Basic Demo: How Laravel API Works 03:18
3 List of Data: Routing, Controllers and Postman Demo 04:08
4 Getting Single Record and API Resources 05:13
5 Why 404 Page? Setting Correct Headers 01:39
6 Getting List Inside of List: Returning Multi-Level Data 03:48
7 From Postman to Web Client with Vue.js 03:07
8 Data Pagination in API 03:30
9 Create a New Record: POST from HTML Form 04:17
10 Validation, Errors and Status Codes 03:48
11 Finishing CRUD: Update, Delete and Resource Controller 05:01
12 Uploading files via API 03:02
13 What is CORS and How to Handle it? 02:27
14 Authentication Overview: Sanctum, Passport or JWT? 04:29
15 Authentication with Laravel Sanctum and SPA 06:04
16 Authentication with Laravel Sanctum and API Tokens 05:19
17 Authentication with Laravel Sanctum and Mobile Apps 02:19
18 Authentication with Laravel Passport and Password Grant Type 08:05
19 Generating API Documentation with Scribe 12:40
20 Generating API Documentation with OpenAPI/Swagger 04:51
21 Versioning your API: from V1 to V2 and Beyond 05:01
22 Throttling: Maximum Requests per Minute 03:05

Similar courses to How to Create Laravel API

RESTful API with Laravel: Build a real API with Laravel

RESTful API with Laravel: Build a real API with Laraveludemy

Category: Laravel
Duration 14 hours 30 minutes 19 seconds
Laravel From Scratch Course | Build A Job Listing Application

Laravel From Scratch Course | Build A Job Listing ApplicationBrad Traversy

Category: Laravel
Duration 13 hours 20 minutes 36 seconds
Develop and Deploy Laravel Applications with Docker

Develop and Deploy Laravel Applications with DockerAndrew Schmelyun

Category: Laravel
Duration 2 hours 29 minutes 56 seconds
The Ultimate Guide to Building APIs and SPAs With Laravel and Nuxt 3

The Ultimate Guide to Building APIs and SPAs With Laravel and Nuxt 3Server Side Up

Category: Nuxt, Laravel
Duration 4 hours 2 minutes 48 seconds
Mastering Laravel 10 Query Builder, Eloquent & Relationships

Mastering Laravel 10 Query Builder, Eloquent & Relationshipsudemy

Category: Laravel, PHP
Duration 7 hours 27 minutes 32 seconds
Laravel and Vue.js - Fullstack Web Development (2019)

Laravel and Vue.js - Fullstack Web Development (2019)udemy

Category: Laravel
Duration 28 hours 14 seconds
Vue 3, Nuxt.js and Laravel: A Practical Guide

Vue 3, Nuxt.js and Laravel: A Practical Guideudemy

Category: Vue, Nuxt, Laravel
Duration 10 hours 17 minutes 9 seconds
DevOps Project: CICD with Git GitLab Jenkins and Laravel

DevOps Project: CICD with Git GitLab Jenkins and Laraveludemy

Category: Laravel
Duration 4 hours 47 minutes 21 seconds
Ultimate PHP, Laravel, CSS & Sass! Learn PHP, Laravel & Sass

Ultimate PHP, Laravel, CSS & Sass! Learn PHP, Laravel & Sassudemy

Category: CSS, Laravel, PHP
Duration 95 hours 30 minutes