keboola/sandboxes-api-php-client

PHP Client for Keboola Sandboxes API

3.0.0 2020-10-25 08:48 UTC

This package is auto-updated.

Last update: 2020-10-25 08:50:23 UTC


README

Latest Stable Version License Total Downloads Build

https://sandboxes.docs.apiary.io

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": {
        "keboola/sandboxes-api-php-client": "~1.0"
    }
}

Install package:

composer install

Add autoloader in your bootstrap script:

require 'vendor/autoload.php';

Read more in Composer documentation

CI

CI is running in GitHub and requires setup of these secrets:

  • ACR_PULL_USERNAME - docker credentials for Azure service principal allowed pulling keboola.azurecr.io/sandboxes-api (see https://github.com/keboola/sandboxes#acr-access-from-travis)
  • ACR_PULL_PASSWORD
  • KBC_STORAGE_TOKEN - a Storage token working for connection.keboola.com stack
  • KBC_MANAGE_TOKEN - Manage token with provisioning:manage scope