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
Requires
- php: >=7.4.0
- lcobucci/clock: ~2.0.0
- league/oauth2-server: ~8.3.3
- symfony/deprecation-contracts: ^2.2
- yiisoft/yii2: ~2.0.43
Requires (Dev)
- ext-json: *
- ext-xdebug: *
- codeception/codeception: ~4.1.22
- codeception/module-asserts: ~1.3.1
- codeception/module-rest: ~1.3.2
- codeception/module-yii2: ~1.1.3
- friendsofphp/php-cs-fixer: ^3.8
- league/oauth2-client: ~2.6.0
- proget-hq/phpstan-yii2: *
- schmunk42/yii2-giiant: dev-master#7d27dd40604af842905768d6be43bcc96c02cee2
- squizlabs/php_codesniffer: 3.*
- vlucas/phpdotenv: ~5.3
- web-token/jwt-checker: ~2.2.11
- web-token/jwt-key-mgmt: ~2.2.11
- web-token/jwt-signature: ~2.2.11
- web-token/jwt-signature-algorithm-ecdsa: ~2.2.11
- web-token/jwt-signature-algorithm-hmac: ~2.2.11
- web-token/jwt-signature-algorithm-rsa: ~2.2.11
- yiisoft/yii2-authclient: dev-master
- yiisoft/yii2-bootstrap4: ~2.0.10
- yiisoft/yii2-coding-standards: ~2.0
- yiisoft/yii2-debug: ~2.1.18
This package is auto-updated.
Last update: 2023-01-27 20:41:16 UTC
README
Oauth2 + OpenID Connect Extension for Yii 2
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
- Usage Guide for using the Yii2-Oauth2-Server in your own project.
- Development Guide for contributing to the Yii2-Oauth2-Server.
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.