PHPackages                             olssonm/oauth2-nibe - 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. olssonm/oauth2-nibe

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

olssonm/oauth2-nibe
===================

NIBE Uplink OAuth 2.0 Client Provider for The PHP League OAuth2-Client

v1.1(4y ago)0261MITPHP

Since Mar 26Pushed 4y ago1 watchersCompare

[ Source](https://github.com/olssonm/oauth2-nibe)[ Packagist](https://packagist.org/packages/olssonm/oauth2-nibe)[ RSS](/packages/olssonm-oauth2-nibe/feed)WikiDiscussions main Synced yesterday

READMEChangelog (2)Dependencies (4)Versions (4)Used By (0)

NIBE Provider for OAuth 2.0 Client
==================================

[](#nibe-provider-for-oauth-20-client)

[![Latest Version on Packagist](https://camo.githubusercontent.com/32be3640b1e14c5dce89ee6720ce0cc0d4457d35002788fe6daf7d83ab549564/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f6f6c73736f6e6d2f6f61757468322d6e6962653f7374796c653d666c61742d737175617265)](https://packagist.org/packages/olssonm/oauth2-nibe)[![Software License](https://camo.githubusercontent.com/d10fb2c13531430cb19e3c12e3798cc59ff72b3c947fd6c52556174be1180973/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f6c2f6f6c73736f6e6d2f6f61757468322d6e6962653f7374796c653d666c61742d737175617265)](LICENSE.md)[![Build Status](https://camo.githubusercontent.com/2c709650eba3984f0d162bd10c5086ce54ac42c27be89d0ea82ceb0c34b89feb/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f776f726b666c6f772f7374617475732f6f6c73736f6e6d2f6f61757468322d6e6962652f52756e25323074657374732e7376673f7374796c653d666c61742d737175617265266c6162656c3d7465737473)](https://github.com/olssonm/oauth2-nibe/actions?query=workflow%3A%22Run+tests%22)

This package provides [NIBE Uplink](https://nibeuplink.com/) OAuth 2.0 support for the PHP League's [OAuth 2.0 Client](https://github.com/thephpleague/oauth2-client).

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

[](#installation)

To install, use composer:

```
composer require olssonm/oauth2-nibe

```

Usage
-----

[](#usage)

Usage is the same as The League's OAuth client, using `Olssonm\OAuth2\Client\Provider\Nibe` as the provider.

### Authorization Code Flow

[](#authorization-code-flow)

```
$provider = new Olssonm\OAuth2\Client\Provider\Nibe([
    'clientId'          => 'XXXXXX',
    'clientSecret'      => 'XXXXXX',
    'redirectUri'       => 'https://my.example.com/your-redirect-url/'
]);
```

For further usage of this package please refer to the [core package documentation on "Authorization Code Grant"](https://oauth2-client.thephpleague.com/usage#authorization-code-grant).

### Resource owner information

[](#resource-owner-information)

NIBE does not support access to any personal information of the authorizing resource owner. As such, this package does not support the `getResourceOwner` method documented in the core package.

This package will throw a `Olssonm\OAuth2\Client\Provider\Exception\ResourceOwnerException` exception if you attempt to use this method.

License
-------

[](#license)

The MIT License (MIT). Please see [License File](https://github.com/olssonm/oauth2-nibe/blob/master/LICENSE) for more information.

© 2021 [Marcus Olsson](https://marcusolsson.me).

###  Health Score

25

—

LowBetter than 37% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity7

Limited adoption so far

Community8

Small or concentrated contributor base

Maturity54

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.

###  Release Activity

Cadence

Every ~235 days

Total

2

Last Release

1637d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/74a309aadadeae81baef2394d37375673d03f11133b28a831a30825361d1d68c?d=identicon)[olssonm](/maintainers/olssonm)

---

Top Contributors

[![olssonm](https://avatars.githubusercontent.com/u/907114?v=4)](https://github.com/olssonm "olssonm (7 commits)")

---

Tags

nibenibe-uplinkoauth2phpclientoauthoauth2authorizationauthorisationnibe

###  Code Quality

TestsPHPUnit

Code StylePHP\_CodeSniffer

### Embed Badge

![Health badge](/badges/olssonm-oauth2-nibe/health.svg)

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

###  Alternatives

[stevenmaguire/oauth2-keycloak

Keycloak OAuth 2.0 Client Provider for The PHP League OAuth2-Client

2275.9M27](/packages/stevenmaguire-oauth2-keycloak)[patrickbussmann/oauth2-apple

Sign in with Apple OAuth 2.0 Client Provider for The PHP League OAuth2-Client

1132.5M6](/packages/patrickbussmann-oauth2-apple)[mollie/oauth2-mollie-php

Mollie Provider for OAuth 2.0 Client

251.7M1](/packages/mollie-oauth2-mollie-php)[omines/oauth2-gitlab

GitLab OAuth 2.0 Client Provider for The PHP League OAuth2-Client

36721.5k13](/packages/omines-oauth2-gitlab)

PHPackages © 2026

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