PHP code example of 9072997 / auto-template

1. Go to this page and download the library: Download 9072997/auto-template 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/ */

    

9072997 / auto-template example snippets



utoTemplate\AutoTemplate;

new AutoTemplate('My Website', [
    'Home' => '/',
    'Page 1' => 'page1.php',
    'Google' => 'http://google.com'
]);

echo "here is an <b>HTML</b> fragment";