PHP code example of shep517 / oauth2-jobber

1. Go to this page and download the library: Download shep517/oauth2-jobber 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/ */

    

shep517 / oauth2-jobber example snippets


$provider = new \Shep517\OAuth2\Client\Provider\Jobber([
    'clientId'          => '{jobber-client-id}',
    'clientSecret'      => '{jobber-client-secret}',
    'redirectUri'       => 'https://example.com/callback-url',
]);