nascom/oauth2-teamleader

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

0.1.2 2021-07-01 11:57 UTC

This package is auto-updated.

Last update: 2024-03-29 03:44:48 UTC


README

This package provides Teamleader OAuth 2.0 support for the PHP League's OAuth 2.0 Client.

Installation

composer require nascom/oauth2-teamleader

Usage

See the League documentation. This package provides a Teamleader specific provider you can use instead of the generic one.

$provider = new Nascom\OAuth2\Client\Provider\Teamleader([
    'clientId' => 'your-client-id',
    'clientSecret' => 'your-client-secret',
    'redirectUri' => 'https://example.com/your-redirect-url',
]);