Laravel Passport
Laravel package that adds an OAuth2 server to a Laravel application, issuing access tokens to clients and users.
laravel.com/framework/docs/passportrepositorydocs
Laravel Passport is a Laravel package that adds an OAuth2 server to an application. The Laravel documentation says Passport is built on top of the League OAuth2 server, and covers the authorization code grant with PKCE, the device authorization grant, the password and implicit grants, the client credentials grant and personal access tokens. It describes the install command as creating the encryption keys access tokens need.
Worth knowing
The documentation presents Passport and Laravel Sanctum as the two options. It says an application that needs OAuth2 should use Passport, while single-page and mobile applications and plain API tokens fit Sanctum, which does not support OAuth2.
The deployment section says the encryption keys are usually kept out of source control and must be generated the first time Passport is deployed.
Identity
Rendering and deploy
- Install with
- php artisan install:api1
Releases
Adoption
Sources
- 2026-11-16: links, Categories, Install with
laravel.com/framework/docs/passport - 2026-11-16: links, Written in, GitHub stars
api.github.com/repos/laravel/passport - 2026-11-16: Maintainer
github.com/laravel/passport/blob/v13.11.0/LICENSE.md - 2026-11-16: Built on, Runtime, Minimum runtime, License
github.com/laravel/passport/blob/v13.11.0/composer.json - 2026-11-16: License, License model
github.com/laravel/passport/blob/v13.11.0/README.md - 2026-11-16: Current major version, Last release
api.github.com/repos/laravel/passport/releases/latest - 2026-11-16: First release
repo.packagist.org/p2/laravel/passport.json - 2026-11-16: Contributors
api.github.com/repos/laravel/passport/contributors - 2026-11-16: Packagist downloads
packagist.org/packages/laravel/passport.json - 2026-11-16: Dependent packages, Dependent repositories
packages.ecosyste.ms/api/v1/registries/packagist.org/packages/laravel%2Fpassport