PHPackages                             suin/php-yaf-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. suin/php-yaf-twig

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

suin/php-yaf-twig
=================

Twig extension for Yet Another Framework.

1.1(13y ago)91733[1 issues](https://github.com/suin/php-yaf-twig/issues)MITPHPPHP &gt;=5.3.0

Since Aug 25Pushed 13y ago2 watchersCompare

[ Source](https://github.com/suin/php-yaf-twig)[ Packagist](https://packagist.org/packages/suin/php-yaf-twig)[ Docs](https://github.com/suin/php-yaf-twig)[ RSS](/packages/suin-php-yaf-twig/feed)WikiDiscussions master Synced 3w ago

READMEChangelogDependencies (1)Versions (3)Used By (0)

\\Suin\\Yaf\\Twig
=================

[](#suinyaftwig)

Twig extension for Yet Another Framework.

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

[](#installation)

You can install via Composer.

At first create `composer.json` file:

```
{
	"require": {
		"suin/php-yaf-twig": ">=1.0"
	}
}
```

Run composer to install.

```
$ composer install

```

Finally, include `vendor/autoload.php` at `index.php`

```
require_once 'vendor/autoload.php';

```

Add to `Bootstrap.php`:

```
