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

ActiveLibrary

felicity-php/felicity-twig
==========================

A really light wrapping around Twig. Basically instantiates twig and provides access to it for rendering templates and extending Twig.

1.0.0(8y ago)0362Apache-2.0PHP

Since Nov 26Pushed 8y ago1 watchersCompare

[ Source](https://github.com/felicity-php/felicity-twig)[ Packagist](https://packagist.org/packages/felicity-php/felicity-twig)[ RSS](/packages/felicity-php-felicity-twig/feed)WikiDiscussions master Synced 2mo ago

READMEChangelog (1)Dependencies (4)Versions (2)Used By (2)

About Felicity Twig
-------------------

[](#about-felicity-twig)

Felicity Twig is a really light wrapping around Twig. Basically it just instantiates twig and provides access to it for rendering templates and extending Twig.

Usage
-----

[](#usage)

Get the Twig environment with the static `get` method, or if passing `Twig::getInstance()` in via dependency injection, use the `getTwig` method.

```
