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

YouTube

Laravel API Crash Course With Sanctum - How to Build Laravel API

Code With Dary via YouTube

Overview

Learn how to build a robust API using Laravel Sanctum in this comprehensive video tutorial. Dive into the powerful authentication system for SPAs, mobile applications, and simple API tokens. Start by setting up and installing Sanctum, then explore essential concepts such as API response traits and Postman setup. Progress through routing, user registration, and login functionalities before learning how to protect routes effectively. Gain hands-on experience with task migrations, models, and factories. Master various task-related functionalities and conclude with implementing logout features and token revocation. Perfect for developers looking to enhance their Laravel skills and create secure, efficient APIs.

Syllabus

- Introduction
- Setup & Installing Sanctum
- API Response Trait
- Postman Setup
- Routing
- Register functionality
- Login functionality
- Protecting Routes
- Task migration, model and factory
- Tasks functionalities
- Logout functionality / Revoking tokens

Taught by

Code With Dary

Reviews

Start your review of Laravel API Crash Course With Sanctum - How to Build Laravel API

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.