mako-framework / framework

Mako framework.
https://makoframework.com
BSD 3-Clause "New" or "Revised" License
242 stars 38 forks source link

Use Doctrine2 ORM and Twig #46

Closed broklyngagah closed 11 years ago

broklyngagah commented 11 years ago

Hi, i have question, how to if i want to use Doctrine2 ORM and Twig template engine in mako framework, thanks

freost commented 11 years ago

Hi,

The easiest way would be to install them via composer (https://packagist.org/). The Mako autoIoader will take care of the rest.

I have also made a twig renderer package (https://packagist.org/packages/kula-shakerz/twig_renderer) if you want to render twig views using the Mako view class.

broklyngagah commented 11 years ago

hi.. thanks about your answer.. but feels less flexible.. i just confused, why the view must using .php file extension.?? how to if i want to use *.twig file extension..? sorry about my english..