There is no license information available for the latest version (1.2.4) of this package.

PHP Client for KBC Orchestrator

1.2.4 2023-10-02 07:15 UTC


Branch workflow

Simple PHP wrapper library for Keboola Orchestrator REST API


Library is available as composer package. To start using composer in your project follow these steps:

Install composer

curl -s | php
mv ./composer.phar ~/bin/composer # or /usr/local/bin/composer

Create composer.json file in your project root folder:

    "require": {
        "php" : ">=5.6",
        "keboola/orchestrator-php-client": "1.3.*"

Install package:

composer install

Add autoloader in your bootstrap script:

require 'vendor/autoload.php';

Read more in Composer documentation


Execute all orchestrations in KBC project example:

use Keboola\Orchestrator\Client;

$client = Client::factory(array(
    'token' => 'YOUR_TOKEN',

// retrieve all orchestrations in KBC project
$orchestrations = $client->getOrchestrations();

foreach ($orchestrations AS $orchestration) {
    // manually execute orchestration


To run tests you need Storage API token to an empty project in Keboola Connection. The project must be in US region.

Create .env file with environment variables:

  • ORCHESTRATOR_API_URL - Url of Orchestrator Rest API endpoint
  • ORCHESTRATOR_API_TOKEN - Valid Storage API token. Token must have canManageTokens permissions.
  • ERROR_NOTIFICATION_EMAIL - Your email address. It will be used in orchestrator notification settings.

Build image and run tests

docker network create orchestrator-router_api-tests
docker-compose build tests
docker-compose run --rm tests ./vendor/bin/phpunit


MIT licensed, see LICENSE file.