PHP code example of mrssoft / tilda
1. Go to this page and download the library: Download mrssoft/tilda 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/ */
mrssoft / tilda example snippets
$tilda = new \mrssoft\tilda\TildaApi([
'publicKey' => '',
'secretKey' => '',
'projectId' => 1111111,
'cacheDuration' => 86400,
]);
//Get HMTL and add CSS and JS to View
$html = $tilda->pageHtml($this->view, $tildaPageId);
//Clear cache
$tilda->clearCache($tildaPageId);