anis2505/darwintpl

DarwinTpl template engine

Installs: 14

Dependents: 0

Suggesters: 0

Security: 0

Stars: 0

Watchers: 1

Forks: 0

Open Issues: 0

Type:php-template-engine

dev-master 2015-08-22 11:16 UTC

This package is not auto-updated.

Last update: 2025-09-17 14:55:23 UTC


README

#DarwinTpl Template Engine V1.0.0 ##Distribution repository

GitHub Logo

Php Template engine using native Php markup. No complicated or new syntax to learn.

to get started. download the DarwinTpl package.

include the DarwinTpl class file.

include(PATH_TO_DARWINTPL.'DarwinTpl.php')

Or simply using composer

"require": {
   "anis2505/darwintpl":"dev-master"
}

in your composer.json file.

in you script create an instance of the class

$darwinTpl = new Darwin\DarwinTpl( TEMPLATES_ROOT_PATH );

Now you are ready to use DarwinTpl.

$darwinTpl->render("templatefile");

Please consider checking the samples provided with this repository.