PHP code example of maike-negreiros / page-assembler

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

    

maike-negreiros / page-assembler example snippets


$PageAssembler = new PageAssembler;
$PageAssembler->build(__DIR__."/layouts/template.html", __DIR__."/newfile.html");