PHP code example of elic-dev / staades-sdk-php

1. Go to this page and download the library: Download elic-dev/staades-sdk-php 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/ */

    

elic-dev / staades-sdk-php example snippets


$config = array(
    'app_key' => 'testapp',
    'api_key' => 'testkey',
);

$client = \Staades\StaadesClient::factory($config);

$client->addValue('My.test.ident', 1);

$client->setValue('My.test.ident', 1);
sh
$ php composer.phar