PHPackages                             waldson/twig-module-for-kohana - 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. waldson/twig-module-for-kohana

ActiveKohana-module[Templating &amp; Views](/categories/templating)

waldson/twig-module-for-kohana
==============================

TWIG module for Kohana 3.3 to use twig templates as Kohana views seamlessly

0.1(13y ago)2352MITPHPPHP &gt;=5.2

Since Feb 10Pushed 13y ago1 watchersCompare

[ Source](https://github.com/waldson/twig)[ Packagist](https://packagist.org/packages/waldson/twig-module-for-kohana)[ RSS](/packages/waldson-twig-module-for-kohana/feed)WikiDiscussions master Synced today

READMEChangelogDependencies (2)Versions (2)Used By (0)

Twig Module For Kohana 3.3
==========================

[](#twig-module-for-kohana-33)

[TWIG](http://twig.sensiolabs.org/) Module for Kohana 3.3 to use templates as Kohana views seamlessly.

Usage
-----

[](#usage)

```
// inside an action in your controller...
$this->response->body(Twig_View::factory('path/to/your/twig/view');
```

there is also a template controller:

```
class Controller_Welcome extends Twig_Controller_Template {

	//default $template is twig/template
	public $template = 'path/to/your/template';

	function action_index()
	{
		$this->var = 'value';
		$this->foo = View::factory('your_normal_kohana_view');
		$this->bar = Twig_View::factory('your_twig_view', array('view_var' => 'view_value'));
	}

}
```

###  Health Score

24

—

LowBetter than 31% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity12

Limited adoption so far

Community9

Small or concentrated contributor base

Maturity48

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

Unknown

Total

1

Last Release

4892d ago

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/160668?v=4)[Waldson Patrício](/maintainers/waldson)[@waldson](https://github.com/waldson)

---

Top Contributors

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

---

Tags

twigkohanatemplating

### Embed Badge

![Health badge](/badges/waldson-twig-module-for-kohana/health.svg)

```
[![Health](https://phpackages.com/badges/waldson-twig-module-for-kohana/health.svg)](https://phpackages.com/packages/waldson-twig-module-for-kohana)
```

###  Alternatives

[timber/timber

Create WordPress themes with beautiful OOP code and the Twig Template Engine

5.7k3.7M132](/packages/timber-timber)[symfony/ux-twig-component

Twig components for Symfony

22018.6M356](/packages/symfony-ux-twig-component)[symfony/ux-live-component

Live components for Symfony

1647.0M127](/packages/symfony-ux-live-component)[october/rain

October Rain Library

1601.7M83](/packages/october-rain)[helsingborg-stad/municipio

A bootstrap theme for creating municipality sites.

4028.5k10](/packages/helsingborg-stad-municipio)[symfony/ux-toolkit

A tool to easily create a design system in your Symfony app with customizable, well-crafted Twig components

16126.1k1](/packages/symfony-ux-toolkit)

PHPackages © 2026

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