2017 © Pedro Peláez
 

library view-strategies

Multi template engine driver for PHP

image

rush/view-strategies

Multi template engine driver for PHP

  • Wednesday, October 25, 2017
  • by Leko
  • Repository
  • 1 Watchers
  • 0 Stars
  • 72 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 1 Forks
  • 0 Open issues
  • 3 Versions
  • 0 % Grown

The README.md

Caution

[[DEPRECATED]] This repository is no longer maintained. We'll delete this repository & unpublish package at 2017/12/31., (*1)

php-view-strategies

CircleCI codecov Latest Stable Version License, (*2)

Multi template engine driver for PHP, (*3)

Installation

composer require rush/view-strategies

Getting started

<?php

use Rush\View;

View::configure([
    'base_path' => '/path/to/view',
    'default_extension' => 'php',
    'strategies' => [
        'php' => 'View\\Strategy\\Plate',
        'jade' => 'View\\Strategy\\Jade',
    ],
]);

echo new View('index.php')->render([ 'name' => 'John', 'age' => 30 ]);
echo new View('relative/path/to/view.jade')->render();

See more example, (*4)

Testing

composer test

License

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

The Versions

25/10 2017

dev-master

9999999-dev

Multi template engine driver for PHP

  Sources   Download

MIT

The Requires

  • php ^5.4

 

The Development Requires

by Avatar Leko

templating driver multiple templates template engine views rush

11/11 2016

0.9

0.9.0.0

Multi template engine driver for PHP

  Sources   Download

MIT

The Requires

  • php ^5.4

 

The Development Requires

by Avatar Leko

templating driver multiple templates template engine views rush

13/03 2016

0.8

0.8.0.0

Multi template engine driver for PHP

  Sources   Download

MIT

The Requires

  • php ^5.4

 

The Development Requires

by Avatar Leko

templating driver multiple templates template engine views rush