Skip to content

srggroup/raintpl3

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

RainTPL 3

By Federico Ulfo and a lot awesome contributors!

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.

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:

    {
        "require": {
            "rain/raintpl": ">=3.0.0"
        }
    }
  3. Run the following code

    $ php composer.phar install
  4. Run one example of RainTPL with your browser: http://localhost/raintpl3/example.php

Documentation

The documentation of RainTPL is divided in documentation for web designers and documentation for PHP developers.

Bitcoin Donation

support this project

15zdeaEEVH5TNCoCXGdA1M41rBC13ZKo9x

ScreenShot

About

The easiest Template Engine for PHP

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages

  • PHP 53.1%
  • Less 33.2%
  • HTML 9.1%
  • CSS 4.5%
  • JavaScript 0.1%