PHP code example of vrerabek / vre_trello_cms

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

    

vrerabek / vre_trello_cms example snippets




try {
    $vreClient = new \Vrerabek\VreClient();
    $vreClient->setDev(false);
    $vreClient->setCacheSeconds(600);
    $cards = $vreClient->getCards();
    echo $cards['title'];

} catch (Exception $e) {

    echo $e->getMessage();

}

$vreClient->getCards();

$vreClient->setDev(true);

$vreClient->setCacheSeconds(60);
$vreClient = new \Vrerabek\VreClient(dirname(__FILE__ ) . '/src');