anis2505/darwintpl

DarwinTpl template engine

Maintainers

Package info

github.com/anis2505/darwintpl

Type:php-template-engine

pkg:composer/anis2505/darwintpl

Statistics

Installs: 14

Dependents: 0

Suggesters: 0

Stars: 0

Open Issues: 0

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

This package is not auto-updated.

Last update: 2026-04-29 18:07:55 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.