Courses

How to Build Laravel 11 API From Scratch

Authentication Overview: Sanctum, Passport or JWT?

Summary of this lesson:
- Overview of Laravel authentication options
- History: JWT → Passport → Sanctum

In this section of the course, we will talk about API authentication. There are different methods to do that. In the first lesson of this section, we will have an overview of what we will be talking about.


Historically, the first Laravel package to work with API and authentication was JSON Web Token Authentication (JWT). Using this package was a popular way to authenticate...

The full lesson is only for Premium Members.
Want to access all 23 lessons of this course? (58 min read)

You also get:

  • 69 courses (majority in latest Laravel 11)
  • Premium tutorials
  • Access to repositories
  • Private Discord