PHP code example of superbig / craft-qbankconnector

1. Go to this page and download the library: Download superbig/craft-qbankconnector 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/ */

    

superbig / craft-qbankconnector example snippets



return [
    // These will be supplied by QBank
    'clientId'         => '',
    'sessionSourceId'  => '',
    'username'         => '',
    'password'         => '',
    'deploymentSiteId' => null,

    // Toggle usage reporting to QBank
    'reportUsage'          => true,

    // Toggle on Asset Index/Fields
    'enableForAssetFields' => true,
    'enableForAssetIndex'  => true,

    // By default 'sales.qbank.se'
    'qbankBaseDomain'          => '',
];