# OAuth2 Server Bundle 2.0

A new major version of the Symfony bundle that brings The PHP League's OAuth2 server library into Symfony apps.

It replaced trikoder/oauth2-bundle, in coordination with trikoder and members of the Symfony core team. Version 2.0 removes the backward compatibility layer for 1.x.

- Made by: [The PHP League](https://github.com/thephpleague), [Antonio J. García Lagar](https://github.com/ajgarlag), [Robin Chalas](https://github.com/chalasr)
- Shipped: 14/10/2026
- Date from: [release](https://github.com/thephpleague/oauth2-server-bundle/releases/tag/v2.0.0)
- Source: [github.com/thephpleague/oauth2-server-bundle](https://github.com/thephpleague/oauth2-server-bundle)
- Install: `composer require league/oauth2-server-bundle`
- Licence: MIT
- Stack: Symfony
- Topics: Security
- Checked: 25/10/2026
- Added: 26/10/2026

## Badge

Listed here? Add this badge to your README:

```markdown
[![Featured on phplives.dev](https://phplives.dev/badge.svg)](https://phplives.dev/entries/oauth2-server-bundle-2-0/)
```

See more at [phplives.dev](https://phplives.dev)
