PHPackages                             hengeb/simplates - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. hengeb/simplates

ActiveLibrary

hengeb/simplates
================

Template Engine for lightweight templates with automatic escaping

v0.0.3(9mo ago)082MITPHPPHP &gt;=8.0.0

Since Dec 14Pushed 9mo ago1 watchersCompare

[ Source](https://github.com/hengeb/simplates)[ Packagist](https://packagist.org/packages/hengeb/simplates)[ RSS](/packages/hengeb-simplates/feed)WikiDiscussions main Synced 1mo ago

READMEChangelog (3)DependenciesVersions (4)Used By (0)

simplates
=========

[](#simplates)

Simplates as a template engine for PHP for lightweight templates with automatic escaping

basic usage
-----------

[](#basic-usage)

Your PHP file:

```
$templateEngine = new \Hengeb\Simplates\Engine('/path/to/your/templates');
echo $templateEngine->render('user/profile', [
    'name' => 'Bob',
    'hobbys' => 'Your page is now mine
