rhertogh/yii2-oauth2-server A Yii2 Oauth 2 and OpenID Connect server based on thephpleague/oauth2-server

Yii2   Oauth 2     OpenID Connect

Oauth2 + OpenID Connect Extension for Yii 2

  1. Installation
  2. Documentation
  3. Contributing
  4. Reporting Security issues
  5. Versioning & Change Log
  6. Directory Structure
  7. Credits
  8. License

Latest Stable Version build Status Code Coverage Scrutinizer Code Quality GitHub

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]( https://developer.okta.com/blog/2019/10/21/illustrated-guide-to-oauth-and-oidc)


  • The minimum required PHP version is 7.4 (compatibility tested up till and including PHP 8.1).
  • 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


The Yii2-Oauth2-Server is Open Source. You can help by:

Reporting Security issues

In case you found a security issue please [contact us directly]( https://forms.gle/8aEGxmN51Hvb7oLJ7) DO NOT use the issue tracker or discuss it in the public forum as it will cause more damage than help.

Versioning & Change Log

The Yii2-Oauth2-Server follows Semantic Versioning 2.0
Please see the Change Log for more information on version history and the Upgrading Instructions when upgrading to a newer version.

Directory Structure

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.

0 0
Yii Version: 2.0
License: Apache-2.0
Category: Auth
Developed by: Rutger
Created on: Dec 18, 2021
Last updated: (not set)
Packagist Profile
Github Repository

Related Extensions