league/oauth2-server-bundle

Symfony bundle .

Maintainers

Package info

github.com/thephpleague/oauth2-server-bundle

Type:symfony-bundle

pkg:composer/league/oauth2-server-bundle

Transparency log

Statistics

Installs: 5 400 402

Dependents: 6

Suggesters: 0

Stars: 237

Open Issues: 44

v1.2.0 2026-07-17 12:55 UTC

This package is auto-updated.

Last update: 2026-07-17 17:47:26 UTC


README

Unit tests status Coding standards status Type Coverage Latest Stable Version

OAuth2ServerBundle is a Symfony bundle integrating the oauth2-server library into Symfony applications.

Replacement of trikoder/oauth2-bundle made in coordination with trikoder and Symfony core team members in order to improve its maintenance, keep it in sync with Symfony developments and reduce the friction that vendor-overdiversification causes to end users.

Versions

Active development happens on the 2.x branch, which represents the v2.0 major version and subsequent minor versions. Please submit new features there.

The 1.x branch is in maintenance mode i.e. it accepts only bugfixes. Please target it if you're submitting a bugfix that applies to 1.x.

When upgrading from 1.x to 2.x, follow the UPGRADE guide, which lists the BC breaking changes to be aware of when upgrading to v2.0 or higher.

Quick Start

  1. Require the bundle using Composer:

    composer require league/oauth2-server-bundle
  2. Require Doctrine to use it as persistence layer:

    composer require doctrine/doctrine-bundle doctrine/orm

Documentation

The docs can be found in the docs/ directory of this repository.

License

See the LICENSE file for copyrights and limitations (MIT).