library php-lattestrict
Extend of [Latte](https://latte.nette.org): amazing template engine for PHP. Designed for user templates. Removed support for php and similarly dangerous constructions.
tacoberu/php-lattestrict
Extend of [Latte](https://latte.nette.org): amazing template engine for PHP. Designed for user templates. Removed support for php and similarly dangerous constructions.
- Sunday, February 4, 2018
- by tacoberu
- Repository
- 1 Watchers
- 0 Stars
- 4 Installations
- PHP
- 0 Dependents
- 0 Suggesters
- 0 Forks
- 2 Open issues
- 1 Versions
- 0 % Grown
LatteStrict
, (*1)
Extend of Latte: amazing template engine for PHP. Designed for user templates. Removed support for php and similarly dangerous constructions., (*2)
Installation
The recommended way to install LatteStrict is via Composer (alternatively you can download package):, (*3)
composer require tacoberu/php-lattestrict
Usage
$engine = new Taco\LatteStrict\Engine;
$engine->setLoader(new Latte\Loaders\StringLoader);
echo $engine->renderToString($template, $args);
What is removed
- pure php code, like
<?php ... ?>
- global variables, classes, etc.
dev-master
9999999-dev
Extend of [Latte](https://latte.nette.org): amazing template engine for PHP. Designed for user templates. Removed support for php and similarly dangerous constructions.
Sources
Download
MIT
The Requires
The Development Requires
twig
template
user
security
html
engine
escaping
context-sensitive