PHPackages                             zingtree/oauth2-talkdesk - 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. zingtree/oauth2-talkdesk

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

zingtree/oauth2-talkdesk
========================

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

v1.0.1(4y ago)0101MITPHP

Since Jan 20Pushed 4y ago7 watchersCompare

[ Source](https://github.com/Zingtree-Inc/oauth2-talkdesk)[ Packagist](https://packagist.org/packages/zingtree/oauth2-talkdesk)[ RSS](/packages/zingtree-oauth2-talkdesk/feed)WikiDiscussions master Synced today

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

Talkdesk Provider for OAuth 2.0 Client
======================================

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

[![Latest Version](https://camo.githubusercontent.com/f987e7ff52291542a432df63be303666416bcc3ec3b2acf852ecb20cb6d4ecfb/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f72656c656173652f7a696e67747265652d696e632f6f61757468322d74616c6b6465736b2e7376673f7374796c653d666c61742d737175617265)](https://github.com/zingtree-inc/oauth2-talkdesk/releases)[![Software License](https://camo.githubusercontent.com/55c0218c8f8009f06ad4ddae837ddd05301481fcf0dff8e0ed9dadda8780713e/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f6c6963656e73652d4d49542d627269676874677265656e2e7376673f7374796c653d666c61742d737175617265)](LICENSE.md)[![Total Downloads](https://camo.githubusercontent.com/96d64228d7762f67c2ae24345cd71e579f810fad0850d5f313b9292db19c3503/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f7a696e67747265652d696e632f6f61757468322d74616c6b6465736b2e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/zingtree-inc/oauth2-talkdesk)

This package provides Talkdesk 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 zingtree/oauth2-talkdesk

```

Usage
-----

[](#usage)

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

### Authorization Code Flow

[](#authorization-code-flow)

```
$provider = new Zingtree\OAuth2\Client\Provider\Talkdesk([
    'clientId'          => '{talkdesk-client-id}',
    'clientSecret'      => '{talkdesk-client-secret}',
    'redirectUri'       => 'https://example.com/callback-url',
    'subdomain'         => 'your-talkdesk-subdomain',
]);
```

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

### Update and read subdomain after configuration

[](#update-and-read-subdomain-after-configuration)

```
$currentSubdomain = $provider->getSubdomain();
$newSubdomain = $currentSubdomain . '-v2';
$provider->setSubdomain($newSubdomain);
```

The provider will not complete configuration if a subdomain is not provided and updating the subdomain will silently fail if the value provided does not return truthy from `empty()`.

Testing
-------

[](#testing)

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

Contributing
------------

[](#contributing)

Please see [CONTRIBUTING](https://github.com/zingtree-inc/oauth2-talkdesk/blob/master/CONTRIBUTING.md) for details.

Credits
-------

[](#credits)

- [Ryan Hoshor](https://github.com/russianryebread)
- [All Contributors](https://github.com/zingtree-inc/oauth2-talkdesk/contributors)

License
-------

[](#license)

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

###  Health Score

24

—

LowBetter than 31% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity6

Limited adoption so far

Community10

Small or concentrated contributor base

Maturity51

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 ~7 days

Total

2

Last Release

1617d ago

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/747085?v=4)[Ryan Hoshor](/maintainers/russianryebread)[@russianryebread](https://github.com/russianryebread)

---

Top Contributors

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

---

Tags

clientoauthoauth2authorizationauthorisationZendesk

###  Code Quality

TestsPHPUnit

Code StylePHP\_CodeSniffer

### Embed Badge

![Health badge](/badges/zingtree-oauth2-talkdesk/health.svg)

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

###  Alternatives

[stevenmaguire/oauth2-keycloak

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

2306.4M45](/packages/stevenmaguire-oauth2-keycloak)[patrickbussmann/oauth2-apple

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

1152.8M12](/packages/patrickbussmann-oauth2-apple)[omines/oauth2-gitlab

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

36779.2k16](/packages/omines-oauth2-gitlab)[league/oauth2-instagram

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

661.1M48](/packages/league-oauth2-instagram)[mollie/oauth2-mollie-php

Mollie Provider for OAuth 2.0 Client

261.8M1](/packages/mollie-oauth2-mollie-php)[dalpras/oauth2-gotowebinar

LogMeIn GoToWebinar OAuth 2.0 Client Provider for the PHP League's OAuth 2.0 Client

1246.3k](/packages/dalpras-oauth2-gotowebinar)

PHPackages © 2026

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