PHP code example of thomas-redstone / site-build

1. Go to this page and download the library: Download thomas-redstone/site-build 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/ */

    

thomas-redstone / site-build example snippets


    $config = [
        'tags' => ['Documentation'],
        'date' => '2015-12-11',
        'title' => 'Documentation',
        'class' => 'docs'
    ];
    $this->layout('templates::template', $config);
    
 foreach($menu as $menuItem): 
 endforeach;