# lucadegasperi/oauth2-server-laravel

An OAuth 2.0 bridge for Laravel and Lumen [DEPRECATED FOR LARAVEL 5.3+]

Repository: https://github.com/lucadegasperi/oauth2-server-laravel
Canonical: https://ross.abutalabs.com/products/oauth2-server-laravel
Homepage: https://packagist.org/packages/lucadegasperi/oauth2-server-laravel
Language: PHP
License: MIT
License Family: permissive
Last push: 2023-08-18T08:19:05+00:00

## Health v2 (maintenance only)
Score: 23/100 (v2, computed 2026-09-02T17:46:02.011165+00:00)
- activity 0, release rhythm 8, longevity 100
- inputs: {"age_days": 4717, "days_push": 1111, "days_rel": null, "gap_med": null, "n_releases_24m": 0}
- flags: none
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 2346, forks 521 (observed 2026-08-28T04:06:39.869264+00:00)

## What it is
An OAuth 2.0 authorization and resource server bridge for the Laravel and Lumen PHP frameworks, built on the League OAuth 2.0 server package. It is deprecated and no longer maintained for Laravel 5.3+, where Laravel Passport is the recommended replacement.

## Use cases
- add OAuth 2.0 authentication to a Laravel 4/5.0-5.2 API
- issue access tokens from a Lumen application
- protect API endpoints as an OAuth 2.0 resource server
- implement authorization code, password, or client credentials grants in Laravel
- maintain a legacy Laravel app that already uses this package

## When to choose
- you are stuck on Laravel 5.2 or earlier and need an OAuth 2.0 server
- you are maintaining an existing codebase that already depends on this package

## When to avoid
- you are on Laravel 5.3 or newer - use Laravel Passport instead
- you are starting a new project and want maintained, secure software
- you need support or security updates for a production OAuth deployment

## Facets
- artifact type: library
- maturity: abandoned
- function: auth, api-framework, middleware
- domain: security, apis, web-development, backend
- platform: php, self-hosted
- tags: oauth2, laravel, lumen, authorization-server, resource-server, deprecated

## Member repositories
- lucadegasperi/oauth2-server-laravel (main) score 23

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:06:39.869264+00:00.
- Health v2: computed from the inputs above; adoption is never an input.
- Inferred fields (summary, facets, guidance): AI-extracted, prompt v1, taxonomy v1, on 2026-08-30T02:37:02.054798+00:00, confidence not recorded.
  - readme: https://github.com/lucadegasperi/oauth2-server-laravel (fetched 2026-08-28T04:06:39.869264+00:00, sha ae29e286752b)
  - homepage: https://packagist.org/packages/lucadegasperi/oauth2-server-laravel (fetched 2026-08-29T10:17:35.693048+00:00, sha e7816a31ea97)
  - site_page: https://packagist.org/about (fetched 2026-08-29T10:17:35.697359+00:00, sha 29af46773a45)
  - site_page: https://packagist.org/packages/lucadegasperi/oauth2-server-laravel/stats (fetched 2026-08-29T10:17:35.695688+00:00, sha f12bdd5f14c3)
- Data as of 2026-08-30T08:39:29.467469+00:00.
