PHP code example of sandwave-io / basekit-php

1. Go to this page and download the library: Download sandwave-io/basekit-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/ */

    

sandwave-io / basekit-php example snippets


use SandwaveIo\BaseKit\BaseKit;

$basekit = new BaseKit('<user>', '<password>', '<api-url>');

$accountHolderRef = 123;
$brandRef = 456;

$basekit->sitesApi->create($accountHolderRef, $brandRef, "example.com");