Skip to main content
CourseFlix

How to Create Laravel API

1h 40m 20s
English
Paid

Unlock the potential of Laravel for API development! As the demand for API developers continues to rise, particularly those skilled in Laravel, this course is designed to equip you with the knowledge to create robust APIs using the Laravel framework.

Course Highlights

In this course, you'll gain hands-on experience and learn how to:

  • Create Laravel RESTful APIs: Master the art of handling requests using GET/POST, leverage API Resources, ensure data integrity with Validation, and more.
  • Authorize API Users: Secure your applications with user authentication using Sanctum or Passport.
  • Utilize Postman: Effectively manage and test your API requests with Postman, a powerful tool for API development.
  • Generate API Documentation: Learn how to create comprehensive API documentation using tools like Scribe or OpenAPI/Swagger.
  • Discover Tips and Tricks: Enhance your API projects with various insights and advanced techniques.

What This Course Is Not

This course is not intended for Laravel beginners. It requires a foundational understanding of Laravel development. For those new to Laravel, we recommend our free Laravel for Beginner s course to get you started.

Additionally, this course is not focused on building Single Page Applications (SPAs) or extensively covering Vue.js. While some examples of using Vue to consume Laravel APIs will be demonstrated, a separate course dedicated to SPAs is in the planning stages.

Additional

https://github.com/LaravelDaily/Laravel-API-Course-Demo 

About the Author: LaravelDaily

LaravelDaily thumbnail

LaravelDaily is the long-running PHP / Laravel teaching brand of Povilas Korop, one of the most prolific Laravel content creators on the open web. The site has been publishing daily Laravel content for over a decade and now operates a paid course catalog plus the LaravelDaily YouTube channel and a popular weekly newsletter.

The CourseFlix listing carries five LaravelDaily courses covering Laravel project structure, REST API construction, advanced Eloquent ORM patterns, SOLID-principles application in Laravel, and the Laravel + Vue full-stack stack. Material is paid and aimed at Laravel developers ready to move past the framework basics into the patterns that show up in real production codebases.

Watch Online 22 lessons

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

Related courses

  • Laravel Livewire thumbnail

    Laravel Livewire

    Sources: Caleb Porzio, Laravel Livewire
    Building modern web apps is hard. Tools like Vue and React are extremely powerful, but the complexity they add to a full-stack developer's workflow is insane.
    11 hours 29 minutes 28 seconds
  • RESTful API with Laravel: Build a real API with Laravel thumbnail

    RESTful API with Laravel: Build a real API with Laravel

    Sources: Udemy
    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 p
    14 hours 30 minutes 19 seconds
  • Vue 3 and Laravel: Breaking a Monolith to Microservices thumbnail

    Vue 3 and Laravel: Breaking a Monolith to Microservices

    Sources: Udemy
    Microservices Architecture, Vue 3, Nuxt.js, Laravel, Docker, RabbitMQ, Event Driven Microservices, Internal APIs, Redis. Learn how to create a Monolith using Vu
    14 hours 4 minutes 43 seconds