PHPackages                             iqnection-programming/teamwork-oauth2 - 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. iqnection-programming/teamwork-oauth2

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

iqnection-programming/teamwork-oauth2
=====================================

OAuth2 Provider for the PHP League OAuth2 Client package

1.0.0(4y ago)05MITPHP

Since Nov 19Pushed 4y ago3 watchersCompare

[ Source](https://github.com/iqnection-programming/teamwork-oauth2)[ Packagist](https://packagist.org/packages/iqnection-programming/teamwork-oauth2)[ RSS](/packages/iqnection-programming-teamwork-oauth2/feed)WikiDiscussions master Synced 6d ago

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

Teamwork Provider for OAuth 2.0 Client
======================================

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

This package provides a Teamwork 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 iqnection-programming/teamwork-oauth2

```

Usage
-----

[](#usage)

View examples in the [example](https://github.com/iqnection-programming/teamwork-oauth2/tree/master/example) directory

### Authorization Code Flow

[](#authorization-code-flow)

```
$provider = new \IQnectionProgramming\TeamworkOAuth2\Provider\Teamwork([
	'clientId'          => 'my-client-id',
	'clientSecret'      => 'my-client-secret',
	'redirectUri'       => 'https://example.com/my-redirect-uri'
]);
```

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

### Using your token

[](#using-your-token)

```
$tokenData = []; getValues();

$tokenString = $token->getToken());
$apuUrl = $values['installation']['apiEndPoint'];

```

Testing
-------

[](#testing)

```
$ ./vendor/bin/phpunit
```

License
-------

[](#license)

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

###  Health Score

22

—

LowBetter than 22% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity4

Limited adoption so far

Community8

Small or concentrated contributor base

Maturity50

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

Unknown

Total

1

Last Release

1639d ago

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/8713560?v=4)[Mike Eckert](/maintainers/iqmeckert)[@iqmeckert](https://github.com/iqmeckert)

---

Top Contributors

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

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/iqnection-programming-teamwork-oauth2/health.svg)

```
[![Health](https://phpackages.com/badges/iqnection-programming-teamwork-oauth2/health.svg)](https://phpackages.com/packages/iqnection-programming-teamwork-oauth2)
```

###  Alternatives

[league/oauth2-google

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

41721.2M118](/packages/league-oauth2-google)[knpuniversity/oauth2-client-bundle

Integration with league/oauth2-client to provide services

83416.7M61](/packages/knpuniversity-oauth2-client-bundle)[thenetworg/oauth2-azure

Azure Active Directory OAuth 2.0 Client Provider for The PHP League OAuth2-Client

2509.6M48](/packages/thenetworg-oauth2-azure)[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)[microsoft/kiota-authentication-phpleague

Authentication provider for Kiota using the PHP League OAuth 2.0 client to authenticate against the Microsoft Identity platform

153.2M7](/packages/microsoft-kiota-authentication-phpleague)

PHPackages © 2026

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