PHPackages                             macfly/yii2-authclient-adfs - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [Authentication &amp; Authorization](/categories/authentication)
4. /
5. macfly/yii2-authclient-adfs

AbandonedLibrary[Authentication &amp; Authorization](/categories/authentication)

macfly/yii2-authclient-adfs
===========================

Adfs Oauth2 client for yii2-authclient

0.0.2(9y ago)21.9kBSD-3-Clause

Since Feb 24Compare

[ Source](https://github.com/marty-macfly/yii2-authclient-adfs)[ Packagist](https://packagist.org/packages/macfly/yii2-authclient-adfs)[ Docs](https://github.com/Marty-Macfly/yii2-authclient-adfs)[ RSS](/packages/macfly-yii2-authclient-adfs/feed)WikiDiscussions Synced today

READMEChangelogDependencies (2)Versions (3)Used By (0)

yii2-authclient-adfs
====================

[](#yii2-authclient-adfs)

Adfs client for yii2-authclient

Installation
------------

[](#installation)

Through Composer From console:

```
composer require macfly/yii2-authclient-adfs

```

or add to "require" section to composer.json

```
"macfly/yii2-authclient-adfs": "*"

```

Usage
-----

[](#usage)

Set up Oauth2 single sign-on on Active Directory with ADFS. And add the AdfsOauth2 client to your auth clients.

```
php
'components' => [
    'authClientCollection' => [
      'class'   => \yii\authclient\Collection::className(),
      'clients' => [
        'adfs' => [
          'class'             => 'macfly\authclient\AdfsOAuth2',
          'authUrl'           => 'https://adfs.microsoft.com/adfs/oauth2/authorize',
          'tokenUrl'          => 'https://adfs.microsoft.com/adfs/oauth2/token',
          'clientId'          => 'xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx',
          'clientSecret'      => 'yyyyyyyyy',
          'userAttributes'    => [
            'email',
          ],
        ],
        // other clients
      ],
    ],
    // ...
 ]

```

###  Health Score

29

—

LowBetter than 57% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity21

Limited adoption so far

Community8

Small or concentrated contributor base

Maturity54

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 50% of commits — single point of failure

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

###  Release Activity

Cadence

Every ~4 days

Total

2

Last Release

3411d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/74924cc29f67eef7ca7640876dd3462974466ea683f8d059c70a33b3087d7230?d=identicon)[Macfly](/maintainers/Macfly)

---

Top Contributors

[![Isitar](https://avatars.githubusercontent.com/u/16210003?v=4)](https://github.com/Isitar "Isitar (1 commits)")[![marty-macfly](https://avatars.githubusercontent.com/u/12715929?v=4)](https://github.com/marty-macfly "marty-macfly (1 commits)")

---

Tags

oauth2yii2adfsauthclient

### Embed Badge

![Health badge](/badges/macfly-yii2-authclient-adfs/health.svg)

```
[![Health](https://phpackages.com/badges/macfly-yii2-authclient-adfs/health.svg)](https://phpackages.com/packages/macfly-yii2-authclient-adfs)
```

###  Alternatives

[kotchuprik/yii2-instagram-authclient

Instagram extenion for using via yii2-authclient

2050.7k](/packages/kotchuprik-yii2-instagram-authclient)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
