Search by

marko / view-twig

markshust

Twig templating driver for Marko Framework View

Package info

github.com/marko-php/marko-view-twig

pkg:composer/marko/view-twig

Statistics

Installs: 63

Dependents: 2

Suggesters: 1

Stars: 0

0.13.0 2026-11-01 12:48 UTC

This package is auto-updated.

Last update: 2026-11-03 19:24:18 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]);
<a href="{{ route('blog.post.show', {slug: post.slug}) }}">{{ post.title }}</a>

Documentation

Full usage, API reference, and examples: marko/view-twig