2017 © Pedro Peláez
 

library phptal

PHPTAL implementation of PhpTransformer.

image

phptransformers/phptal

PHPTAL implementation of PhpTransformer.

  • Sunday, February 28, 2016
  • by MacFJA
  • Repository
  • 2 Watchers
  • 0 Stars
  • 33 Installations
  • PHP
  • 1 Dependents
  • 1 Suggesters
  • 0 Forks
  • 0 Open issues
  • 2 Versions
  • 0 % Grown

The README.md

PHPTAL for PHPTransformers

PHPTAL support for PHPTransformers., (*1)

Install

Via Composer, (*2)

``` bash $ composer require phptransformers/phptal, (*3)


## Usage ``` php $engine = new PHPTALTransformer(); echo $engine->render('<tal:block>Hello, ${name}!</tal:block>', array('name' => 'phptransformers'));

Options

``` php $engine = new PHPTALTransformer(array( 'cache-dir' => 'path/to/cache/directory', // Default to the system temporary directory 'template-dir' => 'path/to/template/directory' // default to $PWD ));, (*4)

// ..., (*5)

$phptal = new \PHPTAL(); $engine = new PHPTALTransformer(array( 'phptal' => $phptal // All others options are ignored ));, (*6)


## Testing ``` bash $ composer test

License

The MIT License (MIT). Please see License File for more information., (*7)

The Versions

28/02 2016

dev-master

9999999-dev https://github.com/phptransformers/phptal

PHPTAL implementation of PhpTransformer.

  Sources   Download

MIT

The Requires

 

The Development Requires

by Avatar MacFJA

templates template engine phptal phptransformer phptransformers zope

28/02 2016

1.0.0

1.0.0.0 https://github.com/phptransformers/phptal

PHPTAL implementation of PhpTransformer.

  Sources   Download

MIT

The Requires

 

The Development Requires

by Avatar MacFJA

templates template engine phptal phptransformer phptransformers zope