PHP code example of phile / content-variables

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

    

phile / content-variables example snippets


$config['variables'] = array(
  'site_title' => $config['site_title'],
  'base_url' => 'https://example.com/
);

'open_tag' => '%', // the open tag for the variable
'close_tag' => '%' // the close tag for the variable

$config['plugins']['phile\\contentVariables'] = array('active' => true);