2017 © Pedro Peláez
 

library plates

Plates implementation of PhpTransformer

image

phptransformers/plates

Plates implementation of PhpTransformer

  • Thursday, October 5, 2017
  • by MacFJA
  • Repository
  • 1 Watchers
  • 0 Stars
  • 37 Installations
  • PHP
  • 1 Dependents
  • 1 Suggesters
  • 0 Forks
  • 0 Open issues
  • 3 Versions
  • 0 % Grown

The README.md

Plates for PHPTransformers

Plates support for PHPTransformers., (*1)

Install

Via Composer, (*2)

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


## Usage ``` php $engine = new PlatesTransformer(); echo $engine->render('Hello, {$name}!', array('name' => 'phptransformers'));

Options

``` php $engine = new PlatesTransformer(array( 'directory' => 'path/to/the/templates', // Default to the current working directory 'extension' => 'plates' // Extensions of templates files (default to no extention filtering) ));, (*4)

// ..., (*5)

$plates = new \League\Plates\Engine(); $engine = new PlatesTransformer(array( 'plates' => $plates // 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

05/10 2017

dev-master

9999999-dev

Plates implementation of PhpTransformer

  Sources   Download

MIT

The Requires

 

The Development Requires

by Avatar MacFJA

league templates plates phptransformer phptransformers the php league

05/10 2017

1.0.1

1.0.1.0

Plates implementation of PhpTransformer

  Sources   Download

MIT

The Requires

 

The Development Requires

by Avatar MacFJA

league templates plates phptransformer phptransformers the php league

18/03 2016

1.0.0

1.0.0.0

Plates implementation of PhpTransformer

  Sources   Download

MIT

The Requires

 

The Development Requires

by Avatar MacFJA

league templates plates phptransformer phptransformers the php league