Skip to content

TwigView 1.0.0

Choose a tag to compare

@othercorey othercorey released this 17 Apr 05:14
2d058a8

cakephp/twig-view 1.0 is the official plugin for Twig template views in your CakePHP application. This package replaces wyrihaximus/twig-view and provides tighter coupling with CakePHP.

New Features

  • Configuration through ViewBuilder.
  • Overriding Twig initialization through your AppView. No more event-based configuration.
  • fetch(), element() and cell() functions allow you to access View data in a Twig-friendly way. No more |raw after every call.
  • Easy markdown_to_html() support with DefaultMarkdown.

Backwards Compatibility

  • element and cell tags from wyrihaximus/twig-view supported with deprecation warnings.