laravel/passport
Laravel Passport provides OAuth2 server support to Laravel. observed · 2026-08-28
Health v2 · maintenance only
98/100
- Activity 97
- Release rhythm 97
- Longevity 100
How is this computed?
round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10) — computed 2026-09-02. Adoption (stars, forks) is never an input.
- gap_med: 14.0
- age_days: 3705
- days_rel: 22
- days_push: 22
- n_releases_24m: 31
Adoption not part of the score
3413 stars · 800 forks observed · 2026-08-28
What it is AI-extracted, prompt v1, taxonomy v1, 2026-08-29, confidence not recorded
Laravel Passport is an OAuth2 server package for Laravel applications, built on the League OAuth2 server. It issues and manages access tokens, refresh tokens, and clients across all standard OAuth2 grants including authorization code with PKCE, client credentials, password, and device authorization.
Use cases
- add oauth2 server to a laravel app
- issue api access tokens with scopes
- authenticate mobile and spa clients via oauth2
- implement client credentials grant for machine-to-machine auth
- manage oauth clients and revoke refresh tokens
- protect laravel api routes with token middleware
When to choose
- your Laravel application must support the full OAuth2 protocol
- you need third-party clients to obtain tokens for your API
- you need multiple grant types like authorization code with PKCE or device flow
When to avoid
- you only need simple API tokens or SPA authentication - use Laravel Sanctum instead
- you are not using the Laravel framework
- you need a standalone OAuth2 identity provider rather than an in-app package
Facets
library · maturity active
auth api-framework middleware web-development backend security apis php self-hosted oauth2 laravel api-authentication access-tokens pkce personal-access-tokens web-server
10 sources
- readme: https://github.com/laravel/passport · fetched 2026-08-28 · c384358d5b51
- homepage: https://laravel.com/docs/passport · fetched 2026-08-29 · 8d3e55de12da
- site_page: https://laravel.com/framework/docs/releases · fetched 2026-08-29 · 67498d0f3692
- site_page: https://laravel.com/framework/docs/upgrade · fetched 2026-08-29 · 4d6c0fc37e99
- site_page: https://laravel.com/framework/docs/contributions · fetched 2026-08-29 · 683d89b609fc
- site_page: https://laravel.com/framework/docs/installation · fetched 2026-08-29 · 116b85d6ed8c
- site_page: https://laravel.com/framework/docs/configuration · fetched 2026-08-29 · 7d113b54ec22
- site_page: https://laravel.com/framework/docs/ai · fetched 2026-08-29 · 410fc0e008c4
- site_page: https://laravel.com/framework/docs/structure · fetched 2026-08-29 · d1ff408b057e
- site_page: https://laravel.com/framework/docs/frontend · fetched 2026-08-29 · 34f51b18165a
Member repositories
| Repository | Role | Health v2 |
|---|---|---|
| laravel/passport | main | 98 |
For agents
markdown · JSON · MCP: product_card(name="laravel/passport")
Data as of 2026-08-30T08:39:29.467469+00:00 · Report a problem