PHP code example of sumocoders / teamleader

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

    

sumocoders / teamleader example snippets


$teamleader = new Teamleader('myApiGroup', 'myApiSecret');

// do one of the calls on the teamleader object, see inline docs for more info
$teamleader->getDepartments();