Yet another template engine for PHP
This project is maintained by Corviz
Features:
composer require corviz/crow
In your main script:
use Corviz\Crow\Crow;
Crow::setDefaultPath('/path/to/templates/folder');
Crow::setComponentsNamespace('MyComponents'); //Required only if you will use components/custom tags
Crow::render('index');
In /path/to/templates/folder/index.crow.php:
<!DOCTYPE html>
<html>
    <head>
        <title>Index</title>
    </head>
    <body>
        {{ 'Hello world' }}
    </body>
</html>
In your main script:
$todoList = ['Work', 'Clean house', 'Relax'];
Crow::render('template', ['todoList' => $todoList]);
Template file
<h1>Todo:</h1>
<ul>
    @foreach($todoList as $task)
        <li>{{ $task }}</li>
    @endforeach
</ul>