rhertogh/yii2-oauth2-server

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

Installs: 453

Dependents: 0

Suggesters: 0

Security: 0

Stars: 13

Watchers: 3

Forks: 5

Open Issues: 1

Type:yii2-extension

1.0.0-alpha6 2022-11-13 22:14 UTC

This package is auto-updated.

Last update: 2023-01-27 20:41:16 UTC


README

Yii2   Oauth 2     OpenID Connect

Oauth2 + OpenID Connect Extension for Yii 2


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

Installation

  • 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

Documentation

There are two main sections in the documentation

Contributing

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 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

Credits

License

The Yii2-Oauth2-Server is free software. It is released under the terms of the Apache License. Please see LICENSE.md for more information.