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: 24

Dependents: 1

Suggesters: 1

Stars: 0

0.11.0 2026-10-06 13:47 UTC

This package is auto-updated.

Last update: 2026-10-06 15:42:28 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