asm89 / twig-cache-extension

The missing cache extension for Twig. Caching template fragments with Twig.
MIT License
388 stars 27 forks source link

Bundle for easy integration with Symfony #22

Closed Koc closed 8 years ago

Koc commented 10 years ago

It would be nice add bundle for that. Maybe even no new repository needed (add Bridge/Symfony subdirectory)

lordjancso commented 9 years ago

I would like a Symfony2 bundle too. But can somebody help me how to integrate this extension to my Symfony2 project in this form? @Koc are you using this with Symfony?

Koc commented 9 years ago

yes, I'm using it with Symfony and created services by hand.

lordjancso commented 9 years ago

Could you show me (us) your service? I'm confused how to pass caching strategies via yml. Or is this available somewhere public?

asm89 commented 9 years ago

I'd be :+1: for adding a bundle to this repo. It should just be some services that get registered. Maybe some configuration.

lordjancso commented 9 years ago

If @Koc will give me some advice about how his service look like, I will try to create bundle from this extension!

EmanueleMinotto commented 9 years ago

Could this be interesting for you? I'm still working on it, so feedbacks are really welcome. :) https://github.com/EmanueleMinotto/TwigCacheBundle

imho a bundle should not be included into the library because the library can be used with other frameworks like Laravel or Slim.

asm89 commented 8 years ago

Use @EmanueleMinotto's twig cache bundle! :)