There is sanctum now also. You can read about the comparison here https://laravel.com/docs/9.x/passport#passport-or-sanctum
But if you need oauth2, then sanctum is the way to go
Be part of JetBrains PHPverse 2026 on June 9 – a free online event bringing PHP devs worldwide together.
I am going to write API in Laravel for an Ecommerce Platform . What would be your recommendation if I need to have security like API Keys . Previously I have worked with Passport - and it works like charm but I am open to explore others as well .
Please or to participate in this conversation.