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 1mo ago

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 32% 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

4845d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/1339cbf6d87d02038fcec2fb6ab0471a5b59144b88fb8d6e7afafb7ac015dad3?d=identicon)[waldson](/maintainers/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.4M111](/packages/timber-timber)[tommcdo/kohana-twig

Kohana 3.3 module for the popular Twig template engine

241.9k](/packages/tommcdo-kohana-twig)[shoot/shoot

Shoot aims to make providing data to your templates more manageable

40229.9k2](/packages/shoot-shoot)[goetas/twital

PHP templating engine that combines Twig and PHPTal power points

12813.1k1](/packages/goetas-twital)[goetas/twital-bundle

Twital templating engine Symfony Bundle

206.8k](/packages/goetas-twital-bundle)

PHPackages © 2026

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