rossaddison / yii-auth-client
Yii Framework external authentication via OAuth
Fund package maintenance!
Opencollective
yiisoft
Requires
- php: ^8.3
- guzzlehttp/guzzle: ^7.2
- psr/http-client: ^1.0
- psr/http-factory: ^1.0
- psr/http-factory-implementation: 1.0
- psr/http-message: ^1.1|^2.0
- psr/http-message-implementation: 1.0
- psr/log-implementation: ^2.0
- psr/simple-cache-implementation: ^1.0
- yiisoft/assets: ^5.0
- yiisoft/json: ^1.0
- yiisoft/session: ^2.0
- yiisoft/view: ^11.0
- yiisoft/widget: ^2.1
Requires (Dev)
- kriswallsmith/buzz: ^1.1
- nyholm/psr7: ^1.3
- phpunit/phpunit: ^9.6.3
- roave/infection-static-analysis-plugin: ^1.25
- spatie/phpunit-watcher: ^1.23
- vimeo/psalm: ^5.26
- yiisoft/cache: ^3.0
- yiisoft/di: ^1.3
- yiisoft/log: ^2.0
- yiisoft/psr-dummy-provider: *
- yiisoft/router-fastroute: ^3.0
This package is auto-updated.
Last update: 2024-12-19 19:52:31 UTC
README
Yii External Authentication
[![Mutation testing badge](https://img.shields.io/endpoint?style=flat&url=https%3A%2F%2Fbadge-api.stryker-mutator.io%2Fyii-auth-client)](https://dashboard.stryker-mutator.io/reports/yii-auth-client) [![Build status](https://github.com/rossaddison/yii-auth-client/workflows/build/badge.svg)](https://github.com/rossaddison/yii-auth-client/actions?query=workflow%3Abuild) [![Mutation testing badge](https://img.shields.io/endpoint?style=flat&url=https%3A%2F%2Fbadge-api.stryker-mutator.io%2Fgithub.com%2Frossaddison%2Fyii-auth-client%2Fmaster)](https://dashboard.stryker-mutator.io/reports/github.com/rossaddison/yii-auth-client/master) [![static analysis](https://github.com/rossaddison/yii-auth-client/workflows/static%20analysis/badge.svg)](https://github.com/rossaddison/yii-auth-client/actions?query=workflow%3A%22static+analysis%22) ![Psalm Level](https://img.shields.io/static/v1?label=Psalm%20Level&message=1&color=66ff00) [![type-coverage](https://shepherd.dev/github/rossaddison/yii-auth-client/coverage.svg)](https://shepherd.dev/github/rossaddison/yii-auth-client)
This extension adds OAuth, and OAuth2 consumers for the Yii framework.
Requirements
- PHP 8.3 or higher.
Installation
The package could be installed with Composer:
composer require rossaddison/yii-auth-client
Documentation
26th November 2024 Purpose for this fork: Introduce external authentication into rossaddison/invoice
- Due to the archiving of nov/jose-php, openId Connect, and OAuth1 have been removed from this fork to allow the use and testing of other clients such as: Facebook, Google, Github, LinkedIn, Live, TwitterOAuth2, VKontakt, and Yandex.
- This fork is being tested currently and is psalm level 1 statically built and tested only.
- 3 issue handlers are currently in the psalm.xml and can be removed independently to see relevant errors by running e.g c:\wamp64\www\yii-auth-client\php ./vendor/bin/psalm
- A suitable php substitute will hopefully be introduced later for nov/jose-php. yiisoft/auth-jwt is the obvious choice.
- Due to the archiving of yiisoft/yii-jquery, a cdn for jquery has been introduced into src/Asset/AuthChoiceAsset.php
- Guide: English, Русский
- Internals
If you need help or have a question, the Yii Forum is a good place for that. You may also check out other Yii Community Resources.
License
The Yii External Authentication is free software. It is released under the terms of the BSD License.
Please see LICENSE
for more information.
Maintained by Yii Software.