marko / view-twig
Twig templating driver for Marko Framework View
0.7.0
2026-05-27 16:19 UTC
Requires
- php: ^8.5
- marko/view: 0.7.0
- twig/twig: ^3.0
Requires (Dev)
- pestphp/pest: ^4.0
This package is auto-updated.
Last update: 2026-05-27 16:28:42 UTC
README
Twig templating driver for the Marko Framework.
Installation
composer require marko/view-twig
Note: marko/view-twig conflicts with marko/view-latte --- install only one view driver per project.
Quick Example
$view->render('blog::post/index', ['posts' => $posts]);
Documentation
Full usage, API reference, and examples: marko/view-twig