Download the PHP package keboola/orchestrator-php-client without Composer
On this page you can find all versions of the php package keboola/orchestrator-php-client. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download keboola/orchestrator-php-client
More information about keboola/orchestrator-php-client
Files in keboola/orchestrator-php-client
Package orchestrator-php-client
Short Description PHP Client for KBC Orchestrator
License
Homepage https://connection.keboola.com
Informations about the package orchestrator-php-client
Keboola Orchestrator API PHP client
Simple PHP wrapper library for Keboola Orchestrator REST API
Installation
Library is available as composer package. To start using composer in your project follow these steps:
Install composer
curl -s http://getcomposer.org/installer | 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
Usage
Execute all orchestrations in KBC project example:
Tests
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 endpointORCHESTRATOR_API_TOKEN
- Valid Storage API token. Token must havecanManageTokens
permissions.ERROR_NOTIFICATION_EMAIL
- Your email address. It will be used in orchestrator notification settings.
Build image and run tests
License
MIT licensed, see LICENSE file.