Twig documentation can be found were http://twig.sensiolabs.org/
The work was based on the original php work that can be found were https://github.com/twigphp/Twig
Original PHP code license can be found were https://raw.githubusercontent.com/twigphp/Twig/1.x/LICENSE
*** Not ready for production! ***