PHP code example of keboola / kbc-manage-api-php-client

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

    

keboola / kbc-manage-api-php-client example snippets






use Keboola\ManageApi\Client;

$client = new Client([
    'token' => getenv('MY_MANAGE_TOKEN'),
    'url' => 'https://connnection.keboola.com',
]);

$project = $client->getProject(234);
json
{
    "hp" : ">=5.4.0",
        "keboola/kbc-manage-api-php-client": "~0.0"
    }
}