lrf141/rook

A simple template engine written in PHP

Maintainers

Package info

github.com/lrf141/rook

pkg:composer/lrf141/rook

Statistics

Installs: 14

Dependents: 0

Suggesters: 0

Stars: 0

Open Issues: 0

1.0.3 2018-06-05 14:38 UTC

This package is not auto-updated.

Last update: 2026-03-07 05:32:46 UTC


README

Build Status

Rook

A simple template engine written in PHP

How to use

$ composer require lrf141/rook
use Lrf141\Rook\Engine;
$engine = new Engine('path/to/template');
echo $engine.render('template_name', ['data' => 'hello,world']);
<?php
echo $data;
?>
<h1><?= $data ?></h1>
<?