2026-02-25 06:59:34 +00:00
< p align = "center" >
< a href = "https://github.com/yiisoft" target = "_blank" >
< img src = "https://avatars0.githubusercontent.com/u/993323" height = "100px" >
< / a >
< h1 align = "center" > AuthClient Extension for Yii 2< / h1 >
< br >
< / p >
2026-02-27 00:03:00 +00:00
This extension adds [OpenID ](https://openid.net/ ), [OAuth ](https://oauth.net/ ), [OAuth2 ](https://oauth.net/2/ ) and [OpenId Connect ](https://openid.net/connect/ )
consumers for the [Yii framework 2.0 ](https://www.yiiframework.com ).
2026-02-25 06:59:34 +00:00
For license information check the [LICENSE ](https://github.com/yiisoft/yii2-authclient/blob/master/LICENSE.md )-file.
Documentation is at [docs/guide/README.md ](https://github.com/yiisoft/yii2-authclient/blob/master/docs/guide/README.md ).
[](https://packagist.org/packages/yiisoft/yii2-authclient)
[](https://packagist.org/packages/yiisoft/yii2-authclient)
2026-02-27 00:03:00 +00:00
[](https://github.com/yiisoft/yii2-authclient/actions)
2026-02-25 06:59:34 +00:00
Installation
------------
2026-02-27 00:03:00 +00:00
The preferred way to install this extension is through [composer ](https://getcomposer.org/download/ ).
2026-02-25 06:59:34 +00:00
Either run
```
composer require --prefer-dist yiisoft/yii2-authclient
```
or add
```json
2026-02-27 00:03:00 +00:00
"yiisoft/yii2-authclient": "~2.2.0"
2026-02-25 06:59:34 +00:00
```
to the `require` section of your composer.json.