PHPackages                             setono/php-templates-bundle - 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. setono/php-templates-bundle

ActiveSymfony-bundle[Templating &amp; Views](/categories/templating)

setono/php-templates-bundle
===========================

A Symfony bundle that integrates the php templates library

v1.0.0(6y ago)11.2k[1 PRs](https://github.com/Setono/PhpTemplatesBundle/pulls)MITPHPPHP ^7.2

Since May 15Pushed 2y ago1 watchersCompare

[ Source](https://github.com/Setono/PhpTemplatesBundle)[ Packagist](https://packagist.org/packages/setono/php-templates-bundle)[ RSS](/packages/setono-php-templates-bundle/feed)WikiDiscussions master Synced 1mo ago

READMEChangelog (1)Dependencies (15)Versions (3)Used By (0)

PHP Templates Bundle
====================

[](#php-templates-bundle)

[![Latest Version](https://camo.githubusercontent.com/307783581e61d364cef66b78ffe7df320383fb0f87237c3a004e2b4a263e799c/68747470733a2f2f706f7365722e707567782e6f72672f7365746f6e6f2f7068702d74656d706c617465732d62756e646c652f762f737461626c65)](https://packagist.org/packages/setono/php-templates-bundle)[![Latest Unstable Version](https://camo.githubusercontent.com/87dd87747e3bb5713551958d9a435a045cdf121a1afb39cad8ca804d933da256/68747470733a2f2f706f7365722e707567782e6f72672f7365746f6e6f2f7068702d74656d706c617465732d62756e646c652f762f756e737461626c65)](https://packagist.org/packages/setono/php-templates-bundle)[![Software License](https://camo.githubusercontent.com/4757306886403862c2e396e50cacf4563f5fc4e96e99a79886502a8ccbc43172/68747470733a2f2f706f7365722e707567782e6f72672f7365746f6e6f2f7068702d74656d706c617465732d62756e646c652f6c6963656e7365)](LICENSE)[![Build Status](https://github.com/Setono/PhpTemplatesBundle/workflows/build/badge.svg)](https://github.com/Setono/PhpTemplatesBundle/actions)[![Coverage Status](https://camo.githubusercontent.com/60b10b7fdb5f36d44595466bdc3d4e58fc6ff68327d813c716b6065552eb9649/68747470733a2f2f696d672e736869656c64732e696f2f7363727574696e697a65722f636f7665726167652f672f5365746f6e6f2f50687054656d706c6174657342756e646c652e737667)](https://scrutinizer-ci.com/g/Setono/PhpTemplatesBundle/code-structure)[![Quality Score](https://camo.githubusercontent.com/9ec5176efbfc73770f2d9bccda0559d5303ce80da38792f5f65b2a81d9c1778b/68747470733a2f2f696d672e736869656c64732e696f2f7363727574696e697a65722f672f5365746f6e6f2f50687054656d706c6174657342756e646c652e737667)](https://scrutinizer-ci.com/g/Setono/PhpTemplatesBundle)

This bundle integrates the [PHP templates library](https://github.com/Setono/php-templates) into Symfony.

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

[](#installation)

### Step 1: Download

[](#step-1-download)

```
$ composer require setono/php-templates-bundle
```

### Step 2: Enable the bundle

[](#step-2-enable-the-bundle)

If you use Symfony Flex it will be enabled automatically. Else you need to add it to the `config/bundles.php`:

```
