Download the PHP package laiz/laiz-template without Composer
On this page you can find all versions of the php package laiz/laiz-template. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Table of contents
Download laiz/laiz-template
More information about laiz/laiz-template
Files in laiz/laiz-template
Download laiz/laiz-template
More information about laiz/laiz-template
Files in laiz/laiz-template
Vendor laiz
Package laiz-template
Short Description Simple template engine
License MIT
Homepage https://github.com/nishimura/laiz-template
Package laiz-template
Short Description Simple template engine
License MIT
Homepage https://github.com/nishimura/laiz-template
Keywords template
Please rate this library. Is it a good library?
Informations about the package laiz-template
laiz/template: Simple Template Engine
laiz/template is simple template engine that is developed with PHP5.3.
Usage
Add cache
directory in project directory:
cd public_html
mkdir cache
chmod o+w cache
Include Template.php
or Parser.php
file:
cat > index.php
<?php
require_once 'Laiz/Template/Parser.php';
$t = new Laiz\\Template\\Parser();
$vars = new StdClass();
$vars->foo = 'World!';
$t->show($vars);
Add template file of top page:
mkdir template
echo 'Hello {foo}' > template/index.html
All versions of laiz-template with dependencies
PHP Build Version
Package Version
Requires
php Version
>=5.3.3
The package laiz/laiz-template contains the following files
Loading the files please wait ....