PHPackages                             justmd5/yaf-twig-adapter - 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. justmd5/yaf-twig-adapter

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

justmd5/yaf-twig-adapter
========================

1.0(10y ago)6223MITPHPPHP &gt;=5.3.0CI failing

Since Apr 25Pushed 7y agoCompare

[ Source](https://github.com/justmd5/yaf-twig-adapter)[ Packagist](https://packagist.org/packages/justmd5/yaf-twig-adapter)[ RSS](/packages/justmd5-yaf-twig-adapter/feed)WikiDiscussions master Synced 4w ago

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

yaf-twig-adapter
================

[](#yaf-twig-adapter)

[![FOSSA Status](https://camo.githubusercontent.com/698419e6c70045f59f493500add25c03aae6adae03cf9d5a99ce299a092b3fbe/68747470733a2f2f6170702e666f7373612e696f2f6170692f70726f6a656374732f6769742532426769746875622e636f6d2532466a7573746d64352532467961662d747769672d616461707465722e7376673f747970653d736869656c64)](https://app.fossa.io/projects/git%2Bgithub.com%2Fjustmd5%2Fyaf-twig-adapter?ref=badge_shield)

Twig Adapter for Yaf PHP Framework with namespace enabled.

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

[](#installation)

You can install via Composer.

At first create `composer.json` file:

```
{
	"require": {
		"justmd5/yaf-twig-adapter":">=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`:

```
