2017 © Pedro Peláez
 

library raintpl

easy and fast template engine

image

rain/raintpl

easy and fast template engine

  • Friday, June 8, 2018
  • by RainElemental
  • Repository
  • 27 Watchers
  • 190 Stars
  • 39,418 Installations
  • PHP
  • 14 Dependents
  • 0 Suggesters
  • 51 Forks
  • 53 Open issues
  • 19 Versions
  • 8 % Grown

The README.md

RainTPL 3

By Federico Ulfo and a lot awesome contributors!, (*1)

RainTPL is an easy template engine for PHP that enables designers and developers to work better together, it loads HTML template to separate the presentation from the logic., (*2)

Features

  • Easy for designers, only 10 tags, {$variable}, {#constant#}, {include}, {loop}, {if}, { comment }, {noparse}, {function}
  • Easy for developers, 5 methods to load and draw templates.
  • Powerful, modifier and operation with variables
  • Extensible, load plugins and register new tags
  • Secure, sandbox with blacklist.

Installation / Usage

  1. Install composer https://github.com/composer/composer
  2. Create a composer.json inside your application folder:, (*3)

    json { "require": { "rain/raintpl": ">=3.0.0" } }, (*4)

  3. Run the following code, (*5)

    sh $ php composer.phar install, (*6)

  4. Run one example of RainTPL with your browser: http://localhost/raintpl3/example.php, (*7)

Documentation

The documentation of RainTPL is divided in documentation for web designers and documentation for PHP developers., (*8)

Licence

RainTPL 3, like its antecessor Rain.TPL version 2, is, as of 2018-06-07, published under the MIT Licence., (*9)

The above applies to RainTPL 3 itself, not the entire content of this repository. Some of the example-*.php files and the content below templates/ in this repository are copies of external code under various licences, such as:, (*10)

  • Twitter Bootstrap, under the Apache v2 licence
  • LESS - Leaner CSS, under the Apache v2 licence

Note that not all external content comes with full source code, it’s usually just a copy of (possibly minified or otherwise modified) parts of their distribution. The example files may be used as starting points without limitation except the licences on the external content., (*11)

The Versions

08/06 2018

dev-master

9999999-dev http://raintpl.com

easy and fast template engine

  Sources   Download

MIT

The Requires

  • php >=5.3

 

The Development Requires

by Rain Community

14/05 2014

dev-fix_fread_empty_file

dev-fix_fread_empty_file http://raintpl.com

easy and fast template engine

  Sources   Download

MIT

The Requires

  • php >=5.3

 

by Rain Community

15/12 2013

dev-readme_update

dev-readme_update http://raintpl.com

easy and fast template engine

  Sources   Download

MIT

The Requires

  • php >=5.3

 

by Rain Community

28/11 2013

dev-CompressPluginFix

dev-CompressPluginFix http://raintpl.com

easy and fast template engine

  Sources   Download

MIT

The Requires

  • php >=5.3

 

by Rain Community

27/11 2013

dev-trailing_slash_path

dev-trailing_slash_path http://raintpl.com

easy and fast template engine

  Sources   Download

MIT

The Requires

  • php >=5.3

 

by Rain Community

27/11 2013

dev-absolute_path

dev-absolute_path http://raintpl.com

easy and fast template engine

  Sources   Download

MIT

The Requires

  • php >=5.3

 

by Rain Community

25/11 2013

dev-path_reduce_fix

dev-path_reduce_fix http://raintpl.com

easy and fast template engine

  Sources   Download

MIT

The Requires

  • php >=5.3

 

by Rain Community

10/11 2013

3.1.0

3.1.0.0 http://raintpl.com

easy and fast template engine

  Sources   Download

MIT

The Requires

  • php >=5.3

 

by Rain Community

10/11 2013

dev-issue_123

dev-issue_123 http://raintpl.com

easy and fast template engine

  Sources   Download

MIT

The Requires

  • php >=5.3

 

by Rain Community

01/11 2013

dev-windows_include_bug

dev-windows_include_bug http://raintpl.com

easy and fast template engine

  Sources   Download

MIT

The Requires

  • php >=5.3

 

by Rain Community

31/10 2013

dev-code_style

dev-code_style http://raintpl.com

easy and fast template engine

  Sources   Download

MIT

The Requires

  • php >=5.3

 

by Rain Community

26/08 2013

dev-split_parser

dev-split_parser http://raintpl.com

easy and fast template engine

  Sources   Download

MIT

The Requires

  • php >=5.3

 

by Rain Community

25/08 2013

dev-issue-48

dev-issue-48 http://raintpl.com

easy and fast template engine

  Sources   Download

MIT

The Requires

  • php >=5.3

 

by Rain Community

25/08 2013

dev-issue-7

dev-issue-7 http://raintpl.com

easy and fast template engine

  Sources   Download

MIT

The Requires

  • php >=5.3

 

by Rain Community

05/08 2013

dev-issue-95

dev-issue-95 http://raintpl.com

easy and fast template engine

  Sources   Download

MIT

The Requires

  • php >=5.3

 

by Rain Community

05/08 2013

dev-issue-94

dev-issue-94 http://raintpl.com

easy and fast template engine

  Sources   Download

MIT

The Requires

  • php >=5.3

 

by Rain Community

23/06 2013

dev-issue_77

dev-issue_77 http://raintpl.com

easy and fast template engine

  Sources   Download

MIT

The Requires

  • php >=5.3

 

by Rain Community

21/05 2013

dev-autoescape-tag

dev-autoescape-tag http://raintpl.com

easy and fast template engine

  Sources   Download

MIT

The Requires

  • php >=5.3

 

by Rain Community

24/12 2012

3.0.0

3.0.0.0

easy and fast template engine

  Sources   Download