2017 © Pedro Peláez
 

library wiser

Enhanced PHP template engine

image

albertofem/wiser

Enhanced PHP template engine

  • Wednesday, July 24, 2013
  • by albertofem
  • Repository
  • 0 Watchers
  • 1 Stars
  • 1 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 0 Forks
  • 0 Open issues
  • 1 Versions
  • 0 % Grown

The README.md

Wiser

Build Status, (*1)

Wiser is not a template engine. It aims to provide enhanced features for the PHP template engine. It's highly inspired in Savant3., (*2)

Usage

Basic usage example:, (*3)

use Wiser\Wiser;

$config = array('template_path' => __DIR__ . '/views/);

$wiser = new Wiser($config);
$wiser->render('template.html.php', array('myVar' => 'test'));

In your template:, (*4)

If you're using **PHP >= 5.4.***, (*5)

<?= $myVar; ?>

If you're using **PHP <= 5.3.***, (*6)

<?php echo $myVar; ?>

The Versions

24/07 2013

dev-master

9999999-dev http://albertofem.com

Enhanced PHP template engine

  Sources   Download

MIT

The Requires

 

template engine