PHP code example of flux-eco / ui-transformer
1. Go to this page and download the library: Download flux-eco/ui-transformer 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/ */
flux-eco / ui-transformer example snippets
tEnv\loadDotEnv(__DIR__);
//get page list
$pages = fluxUiTransformer\getPages();
echo "getPages(): ".PHP_EOL;
print_r($pages).PHP_EOL.PHP_EOL;
//get page
$pageTopic = fluxUiTransformer\getPageDefinition('topic');
echo "getPageDefinition('topic'): ".PHP_EOL;
print_r($pageTopic).PHP_EOL;