2017 © Pedro Peláez
 

library template-abstraction

image

ceus-media/template-abstraction

  • Friday, September 22, 2017
  • by kriss0r
  • Repository
  • 1 Watchers
  • 0 Stars
  • 11 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 0 Forks
  • 0 Open issues
  • 1 Versions
  • 0 % Grown

The README.md

Template Abstraction

This library provides an abstraction layer for template engines., (*1)

PHP version License PHPStan level, (*2)

Branch Release Package version, (*3)

Commit date Monthly downloads, (*4)

Goals

Goals of this abstraction layer:, (*5)

  1. to be able to replace the currently used template engine within your project
  2. to be able to use several template engines side by side within your project
  3. allow several developers of your project to use the template engine they like
  4. improve performance of your project by using different template engines for different tasks
  5. avoid/ignore template engine file extensions (like .pug or .haml)
  6. autodetect which template engine to use

To reach these goals, this library provides a clean interface to render templates using several available template engines in the background., (*6)

Template Engines

Currently supported template engines are:, (*7)

Upcoming versions will also support:, (*8)

  • Pug / Jade

Todos

Add Template Engines

Add phug

phug = pug-php = ex-jade, (*9)

Add tale-pug

tale-pug = ex-tale-jade = ex-jade, (*10)


The Versions