league / oauth2-server-bundle
Symfony bundle .
Package info
github.com/thephpleague/oauth2-server-bundle
Type:symfony-bundle
pkg:composer/league/oauth2-server-bundle
Requires
- php: ^8.1
- ext-openssl: *
- league/oauth2-server: ^9.2
- nyholm/psr7: ^1.4
- psr/http-factory: ^1.0
- symfony/deprecation-contracts: ^3.0
- symfony/event-dispatcher: ^6.4|^7.4|^8.0
- symfony/filesystem: ^6.4|^7.4|^8.0
- symfony/framework-bundle: ^6.4|^7.4|^8.0
- symfony/password-hasher: ^6.4|^7.4|^8.0
- symfony/psr-http-message-bridge: ^6.4|^7.4|^8.0
- symfony/security-bundle: ^6.4|^7.4|^8.0
Requires (Dev)
- ext-pdo: *
- ext-pdo_sqlite: *
- doctrine/doctrine-bundle: ^2.8|^3.0
- doctrine/orm: ^2.14|^3.0
- php-cs-fixer/shim: ^3.38
- phpstan/phpstan: ^2.1
- phpstan/phpstan-symfony: ^2.0
- rector/rector: dev-main
- symfony/browser-kit: ^6.4|^7.4|^8.0
- symfony/phpunit-bridge: ^8.1
Suggests
- doctrine/doctrine-bundle: Allow usage of doctrine as persistence layer
- doctrine/orm: Allow usage of doctrine as persistence layer
Conflicts
- doctrine/doctrine-bundle: <2.8.0
- doctrine/orm: <2.14
- symfony/console: <6.1
README
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
-
Require the bundle using Composer:
composer require league/oauth2-server-bundle
-
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).