aboutsummaryrefslogtreecommitdiff
path: root/www/pear-twig/pkg-descr
blob: 7057deb96ef65ef6b22481667de0b74704f4378e (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
Twig is a modern template engine for PHP.

 * Fast: Twig compiles templates down to plain optimized PHP code. The
         overhead compared to regular PHP code was reduced to the very
         minimum.

 * Secure: Twig has a sandbox mode to evaluate untrusted template code.
           This allows Twig to be used as a template language for
           applications where users may modify the template design.

 * Flexible: Twig is powered by a flexible lexer and parser. This allows
             the developer to define its own custom tags and filters, and
             create its own DSL.

WWW: http://twig.sensiolabs.org/