PHPackages                             tuutti/oauth2-office365 - 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. tuutti/oauth2-office365

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

tuutti/oauth2-office365
=======================

Office 365 OAuth 2.0 Client Provider for The PHP League OAuth2-Client

1113PHP

Since Aug 25Pushed 10y ago1 watchersCompare

[ Source](https://github.com/tuutti/oauth2-office365)[ Packagist](https://packagist.org/packages/tuutti/oauth2-office365)[ RSS](/packages/tuutti-oauth2-office365/feed)WikiDiscussions master Synced 3w ago

READMEChangelogDependenciesVersions (1)Used By (0)

Usage
=====

[](#usage)

```
$provider = new \Tuutti\OAuth2\Client\Provider\Office365Provider([
  'clientId' => 'some value',
  'redirectUri' => 'http://localhost....',
  'tenantId' => 'your tenant id',
  'thumbPrint' => ' your thumb print',
  'privateKey' => 'file://path_to_privatekey.pem',
  'resource' => 'your resource, usually https://outlook.office365.com/',
]);
$token = $provider->getAccessToken('client_credentials');
....
```

```
$request = $provider->getAuthenticatedRequest($method, $url, $token, $options);
$response = $provider->getResponse($request);
```

###  Health Score

22

—

LowBetter than 21% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity11

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity41

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 100% 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.

### Community

Maintainers

![](https://www.gravatar.com/avatar/06136d0ee7040e3e819470aa6f30b6629ab6c5655b35bd8123ea43dcc55b130e?d=identicon)[tuutti](/maintainers/tuutti)

---

Top Contributors

[![tuutti](https://avatars.githubusercontent.com/u/771113?v=4)](https://github.com/tuutti "tuutti (11 commits)")

### Embed Badge

![Health badge](/badges/tuutti-oauth2-office365/health.svg)

```
[![Health](https://phpackages.com/badges/tuutti-oauth2-office365/health.svg)](https://phpackages.com/packages/tuutti-oauth2-office365)
```

###  Alternatives

[kartik-v/yii2-password

Useful password strength validation utilities for Yii Framework 2.0

761.2M17](/packages/kartik-v-yii2-password)

PHPackages © 2026

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