fvsch / kirby-twig

Twig templating support for Kirby CMS 2. For Kirby 3, use https://github.com/amteich/kirby-twig
MIT License
70 stars 8 forks source link

how to use twig 2.x #27

Closed bnomei closed 7 years ago

bnomei commented 7 years ago

using composer to install fvsch/kirby-twig still does not allow one to install twig ^2.4.4. any ideas how to upgrade?

bnomei commented 7 years ago

hm. nevermind. drupal is stuck to 1.25 as well so my template migration will have no issues.

fvsch commented 7 years ago

I’m thinking about updating to Twig 2.x in a next major release, but 2.x does not support the Twig_Autoloader class, and supports usage with Composer only.

So I’d have to version an entire vendor directory for the Zip download, or go Composer-only for this plugin (which I’d like because maintaining two different branches is a pain ^^).