PHPackages                             nyrodev/php-template-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. nyrodev/php-template-bundle

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

nyrodev/php-template-bundle
===========================

Symfony Bundle to keep using PHP templates

v7.0(6mo ago)2940↓69.7%2MITPHP

Since Aug 27Pushed 4mo ago2 watchersCompare

[ Source](https://github.com/nyroDev/PhpTemplateBundle)[ Packagist](https://packagist.org/packages/nyrodev/php-template-bundle)[ Docs](https://github.com/nyroDev/PhpTemplateBundle)[ RSS](/packages/nyrodev-php-template-bundle/feed)WikiDiscussions master Synced yesterday

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

PhpTemplateBundle
=================

[](#phptemplatebundle)

Symfony Bundle in order to keep using PHP template

*This was not tested properly, use with caution*

Instalation
===========

[](#instalation)

```
composer require nyrodev/php-template-bundle dev-master

```

Usage
=====

[](#usage)

As you did before on Symfony 4, simply use your php template when rendering something. Usage examples :

```
$this->render('Admin/template.html.php', /* ... */);
$this->render('@MyBundle/Admin/template.html.php', /* ... */);

```

All helpers extings on Symfony 4 was also ported, like `assets`, `form`, `session`, etc... It means you can still use them on your PHP templates with `$view['helper']->call()`

Moreover, the tag `templating.helper` is still working.
You can still define your own PHP template helper by simply adding this tag, just like before.

You can also implements the `NyroDev\PhpTemplateBundle\Helper\HelperInterface` interface in order to be available from your view using the alias return by `getAlias`.

Notes
=====

[](#notes)

PHP Form templates does *NOT* work.
It requires more works and it shouldn't be too much work to rewrite only these templates into Twig.

Many source code comes from the [last version 4 of framework bundle](https://github.com/symfony/framework-bundle/tree/4.4). For now, the only changes made on these files have been removing deprecation notices and changing namespaces.

###  Health Score

43

—

FairBetter than 89% of packages

Maintenance72

Regular maintenance activity

Popularity21

Limited adoption so far

Community14

Small or concentrated contributor base

Maturity56

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

Every ~262 days

Recently: every ~199 days

Total

7

Last Release

198d ago

Major Versions

5.x-dev → v6.02023-10-12

6.x-dev → 7.x-dev2025-12-17

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/265662?v=4)[Nyro](/maintainers/nyroDev)[@nyroDev](https://github.com/nyroDev)

---

Top Contributors

[![nyroDev](https://avatars.githubusercontent.com/u/265662?v=4)](https://github.com/nyroDev "nyroDev (27 commits)")

### Embed Badge

![Health badge](/badges/nyrodev-php-template-bundle/health.svg)

```
[![Health](https://phpackages.com/badges/nyrodev-php-template-bundle/health.svg)](https://phpackages.com/packages/nyrodev-php-template-bundle)
```

###  Alternatives

[pimcore/pimcore

Content &amp; Product Management Framework (CMS/PIM/E-Commerce)

3.8k3.8M508](/packages/pimcore-pimcore)[prestashop/prestashop

PrestaShop is an Open Source e-commerce platform, committed to providing the best shopping cart experience for both merchants and customers.

9.1k17.8k](/packages/prestashop-prestashop)[ec-cube/ec-cube

EC-CUBE EC open platform.

79027.4k1](/packages/ec-cube-ec-cube)[helios-ag/fm-bbcode-bundle

Symfony FMBbCodeBundle

57207.5k](/packages/helios-ag-fm-bbcode-bundle)[noiselabs/smarty-bundle

This Symfony bundle provides integration for the Smarty3 template engine.

53196.2k1](/packages/noiselabs-smarty-bundle)[pumukit/pumukit

Media Portal

6014.6k48](/packages/pumukit-pumukit)

PHPackages © 2026

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