1. Go to this page and download the library: Download itm2018/basecamp-api 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/ */
itm2018 / basecamp-api example snippets
$client = new \Basecamp\Client([
'accountId' => '', // Basecamp account ID
'appName' => '', // Application name (used as User-Agent header)
// OAuth token
'token' => '',
// or
'login' => '', // 37Signal's account login
'password' => '', // 37Signal's account password
]);