Skip to main content

How to Create Laravel API

1h 40m 20s
English
Paid

Course description

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

This is a demo lesson (10:00 remaining)

You can watch up to 10 minutes for free. Subscribe to unlock all 22 lessons in this course and access 10,000+ hours of premium content across all courses.

View Pricing
0:00
/
#1: Intro: Why API?

All Course Lessons (22)

#Lesson TitleDurationAccess
1
Intro: Why API? Demo
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

Unlock unlimited learning

Get instant access to all 21 lessons in this course, plus thousands of other premium courses. One subscription, unlimited knowledge.

Learn more about subscription

Comments

0 comments

Want to join the conversation?

Sign in to comment

Similar courses

Let's Build a Go version of Laravel: Part Two

Let's Build a Go version of Laravel: Part Two

Sources: udemy
This is the follow up to "Let's Build a Go Version of Laravel," and is intended for students who have already taken that course! In the first part of this serie
8 hours 5 minutes 42 seconds
Real-Time Data with Laravel Reverb and Vue.js

Real-Time Data with Laravel Reverb and Vue.js

Sources: vueschool.io
Would you like to add real data handling features to your applications on Laravel and Vue.js? Whether you are creating a notification system, a chat in...
44 minutes 56 seconds
Laravel 8 advanced tips and tricks beginner and intermediate

Laravel 8 advanced tips and tricks beginner and intermediate

Sources: udemy
The latest version of laravel is 8 so during this course you will learn the newest and the short ways to write a Laravel project or app . Laravel until now have
1 hour 56 minutes 50 seconds
React and Laravel: Breaking a Monolith to Microservices

React and Laravel: Breaking a Monolith to Microservices

Sources: udemy
Microservices Architecture, React, Next.js, Laravel, Docker, RabbitMQ, Event Driven Microservices, Internal APIs, Redis. Learn how to create a Monolith using React and Laravel t...
15 hours 7 minutes 45 seconds
SAAS Adventure - Learn to Create your own SAAS

SAAS Adventure - Learn to Create your own SAAS

Sources: saasadventure.io
In this 21-day program you will learn you how to create your very own SAAS application!
8 hours 37 minutes 3 seconds