Wrote a Blog Post
When it comes to implementing stateless authentication in Laravel, Laravel developers usually pick one of the official packages such as Laravel Passport, Laravel Sanctum, or the very popular jwt-auth package.

Now all these packages are excellent but in my opinion, learning how to implement a stateless authentication system using only the php-jwt is worth learning. This is an open-source project maintained by firebase (yes, that firebase) and it’s also enlisted in the jwt website.

In this tutorial, you’ll learn about JWT authentication, how to create new custom guards, issue and verify JWT tokens manually, and a few other stuff. Without further ado, let’s jump in.

https://adevait.com/laravel/implementing-jwt-authentication-in-laravel