PHP code example of nascom / oauth2-teamleader

1. Go to this page and download the library: Download nascom/oauth2-teamleader library. Choose the download type require.

2. Extract the ZIP file and open the index.php.

3. Add this code to the index.php.
    
        
<?php
require_once('vendor/autoload.php');

/* Start to develop here. Best regards https://php-download.com/ */

    

nascom / oauth2-teamleader example snippets


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