laravel/passport
Laravel Passport provides an OAuth2 server for Laravel, enabling API authentication with personal access tokens, password and authorization code grants, and client credentials. Integrates with Laravel’s auth system for secure, standards-based token issuing.
Adopt if:
Look elsewhere if:
auth package).For Executives: *"Laravel Passport lets us own our authentication layer without vendor lock-in, reducing costs and improving security. By standardizing on OAuth2, we can:
For Engineering: *"Passport gives us a production-ready OAuth2 server with:
For Developers: *"Passport turns OAuth2 from a pain point into a feature:
composer require laravel/passport + php artisan passport:install.Auth::user() but with OAuth2 tokens.@auth:api or custom scopes (e.g., @can('manage:users')).How can I help you explore Laravel packages today?