The Yii2-Oauth2-Server is an extension for Yii framework 2.0 applications and provides an Oauth2 server based on the League OAuth2 server. The server also supports OpenID Connect Core.
For license information please check the LICENSE-file.
Documentation is at docs/guide/README.md.
If you're not yet familiar with Oauth 2 check out An Illustrated Guide to OAuth and OpenID Connect
- The minimum required PHP version is 7.4.
- The minimum required Yii version is 2.0.43.
composer install rhertogh/yii2-oauth2-server
Full installation details can be found in the docs under Installing the Yii2-Oauth2-Server
There are two main sections in the documentation
- Usage Guide for using the Yii2-Oauth2-Server in your own project.
- Development Guide for contributing to the Yii2-Oauth2-Server.
The Yii2-Oauth2-Server is Open Source. You can help by:
In case you found a security issue please contact us directly DO NOT use the issue tracker or discuss it in the public forum as it will cause more damage than help.
The Yii2-Oauth2-Server follows Semantic Versioning 2.0
Please see the Change Log for more information on version history.
docker/ Docker container definition
docs/ Documentation (for both usage and development)
sample/ Sample app for the server
src/ Yii2-Oauth2-Server source
tests/ Codeception unit and functional tests
The Yii2-Oauth2-Server is free software. It is released under the terms of the Apache License.
Please see LICENSE.md
for more information.