OxCom / zf3-twig

ZendTwig is a module that integrates the Twig template engine with Laminas.
MIT License
19 stars 6 forks source link

Why not embed instanceOf as an extension built into ZendTwig #5

Closed celtic34fr closed 7 years ago

celtic34fr commented 7 years ago

Hi, I use Twig in my personal project GraphicObjectTemplating (ZF2/ZF3). Giving access to TWIG under ZF2 / ZF3 is interesting, but having an adaptation of the basic templates would be more useful, as your extension instanceOf. If this can help you, I would have both extensions and basic templates to offer you

If you are interested, I can send you the ZF3 sources by email at your request, not all in my project on github (celti34fr / graphic-object-templating)

I found in the TWIG repository a tag refused by Fabien POTENCIER: switch/case that I adapted, I can also provide you.

Gilbert ARMENGAUD celtic34fr gilbert.armengaud@gmail.com (Béziers - Hérault - Occitanie - France)

OxCom commented 7 years ago

Hello,

Good idea, I will think about that, I'll provide You my decision in a week.

Thank You!

OxCom commented 7 years ago

I decided that this extensions for Twig should be created as separate packages, because all extensions will require more dependencies, that is not applicable.

So, it should be done as separate project per extension.