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

PHP Client for KBC GoodData Writer

2.1.1 2015-11-09 13:43 UTC


Simple PHP wrapper library for Keboola GoodData Writer 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.3.2",
        "keboola/gooddata-writer-php-client": "~1.9"

Install package:

composer install

Add autoloader in your bootstrap script:

require 'vendor/autoload.php';

Read more in Composer documentation


Tests requires valid Storage API token and URL of API. You can set these by copying file config.template.php into config.php and filling required constants int config.php file. Other way to provide parameters is to set environment variables:


Tests expects master token and performs all operations.

Never run this tests on production user with real data, always create user for testing purposes!!!

When the parameters are set you can run tests by phpunit command.