PHP code example of silinternational / trello-php-client
1. Go to this page and download the library: Download silinternational/trello-php-client 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/ */
silinternational / trello-php-client example snippets
use Trello\Organization;
$org = new Organization([
'key' => '1234567890',
'token' => 'aasddfffds',
]);
$user = $org->addMember([
'idOrg' => '5519vgdgh561a4a4b51154123b',
'email' => '[email protected]',
'fullName' => 'Test User',
]);
echo $user['id'];
// 552bfa4aadda3e05254317k
"silinternational/trello-php-client": "dev-master"