Skip to content

Latest commit

 

History

History
25 lines (19 loc) · 694 Bytes

README.md

File metadata and controls

25 lines (19 loc) · 694 Bytes

Teamleader Provider for OAuth 2.0 Client

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',
]);