PHP code example of sxule / meddle

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

    

sxule / meddle example snippets




le = new Sxule\Meddle();

echo $meddle->render('mytemplate.html', [
    'names' => [
        'John',
        'Teddy',
        'Jane'
    ]
]);