PHPackages                             marko/view-twig - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [Templating &amp; Views](/categories/templating)
4. /
5. marko/view-twig

ActiveLibrary[Templating &amp; Views](/categories/templating)

marko/view-twig
===============

Twig templating driver for Marko Framework View

0.8.4(1mo ago)051MITPHPPHP ^8.5

Since May 27Pushed 1mo agoCompare

[ Source](https://github.com/marko-php/marko-view-twig)[ Packagist](https://packagist.org/packages/marko/view-twig)[ RSS](/packages/marko-view-twig/feed)WikiDiscussions develop Synced 1w ago

READMEChangelogDependencies (6)Versions (8)Used By (1)

marko/view-twig
===============

[](#markoview-twig)

Twig templating driver for the Marko Framework.

Installation
------------

[](#installation)

```
composer require marko/view-twig
```

Note: `marko/view-twig` conflicts with `marko/view-latte` --- install only one view driver per project.

Quick Example
-------------

[](#quick-example)

```
$view->render('blog::post/index', ['posts' => $posts]);
```

Documentation
-------------

[](#documentation)

Full usage, API reference, and examples: [marko/view-twig](https://marko.build/docs/packages/view-twig/)

###  Health Score

40

—

FairBetter than 86% of packages

Maintenance91

Actively maintained with recent releases

Popularity5

Limited adoption so far

Community10

Small or concentrated contributor base

Maturity46

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 100% of commits — single point of failure

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

###  Release Activity

Cadence

Every ~0 days

Total

6

Last Release

58d ago

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/437029?v=4)[Mark Shust](/maintainers/markshust)[@markshust](https://github.com/markshust)

---

Top Contributors

[![markshust](https://avatars.githubusercontent.com/u/437029?v=4)](https://github.com/markshust "markshust (4 commits)")

###  Code Quality

TestsPest

### Embed Badge

![Health badge](/badges/marko-view-twig/health.svg)

```
[![Health](https://phpackages.com/badges/marko-view-twig/health.svg)](https://phpackages.com/packages/marko-view-twig)
```

###  Alternatives

[craftcms/cms

Craft CMS

3.6k3.6M3.2k](/packages/craftcms-cms)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
