PHPackages                             symfony-util/controller-using-templating-http-foundation-http-kernel - 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. symfony-util/controller-using-templating-http-foundation-http-kernel

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

symfony-util/controller-using-templating-http-foundation-http-kernel
====================================================================

Controller which renders a template and returns a response (HttpFoundation): dependency check for use by http-kernel

0303PHP

Since Jun 2Pushed 6y ago1 watchersCompare

[ Source](https://github.com/symfony-util/controller-using-templating-http-foundation-http-kernel)[ Packagist](https://packagist.org/packages/symfony-util/controller-using-templating-http-foundation-http-kernel)[ RSS](/packages/symfony-util-controller-using-templating-http-foundation-http-kernel/feed)WikiDiscussions master Synced 3d ago

READMEChangelogDependenciesVersions (1)Used By (0)

controller-using-templating-http-foundation-http-kernel
=======================================================

[](#controller-using-templating-http-foundation-http-kernel)

Controller which renders a template and returns a response (HttpFoundation): dependency check for use by http-kernel

[![PHPPackages Rank](https://camo.githubusercontent.com/f4fbf485ae751746965348f9e378510ed49c8ef703ff3c9ef6c9ad72a3597cb6/68747470733a2f2f7068707061636b616765732e6f72672f702f73796d666f6e792d7574696c2f636f6e74726f6c6c65722d7573696e672d74656d706c6174696e672d687474702d666f756e646174696f6e2d687474702d6b65726e656c2f62616467652f72616e6b2e737667)](https://phppackages.org/p/symfony-util/controller-using-templating-http-foundation-http-kernel)[![Monthly Downloads](https://camo.githubusercontent.com/52f2a56e1f16b389d9dbb163b928c33438ed88c6ba776c5d07c8aecf305cdf66/68747470733a2f2f706f7365722e707567782e6f72672f73796d666f6e792d7574696c2f636f6e74726f6c6c65722d7573696e672d74656d706c6174696e672d687474702d666f756e646174696f6e2d687474702d6b65726e656c2f642f6d6f6e74686c79)](https://packagist.org/packages/symfony-util/controller-using-templating-http-foundation-http-kernel)[![PHPPackages Referenced By](https://camo.githubusercontent.com/c1d1b70f24a1797b91eb99800b5a1737ef804f8a460e2bdaae016bcf2d63a034/68747470733a2f2f7068707061636b616765732e6f72672f702f73796d666f6e792d7574696c2f636f6e74726f6c6c65722d7573696e672d74656d706c6174696e672d687474702d666f756e646174696f6e2d687474702d6b65726e656c2f62616467652f7265666572656e6365642d62792e737667)](https://phppackages.org/p/symfony-util/controller-using-templating-http-foundation-http-kernel)[![Tested PHP Versions](https://camo.githubusercontent.com/dbeee9353e2f0d7892095c58ae632362d0baa092a04a5d85c4e78021cec64543/68747470733a2f2f7068702d6579652e636f6d2f62616467652f73796d666f6e792d7574696c2f636f6e74726f6c6c65722d7573696e672d74656d706c6174696e672d687474702d666f756e646174696f6e2d687474702d6b65726e656c2f7465737465642e737667)](https://php-eye.com/package/symfony-util/controller-using-templating-http-foundation-http-kernel)[![Dependency Status](https://camo.githubusercontent.com/f882f362ce4e46487b85bbae5d345b9afdb8dccf39e94c4f35bfda0e2f06f372/68747470733a2f2f7777772e76657273696f6e6579652e636f6d2f7068702f73796d666f6e792d7574696c3a636f6e74726f6c6c65722d7573696e672d74656d706c6174696e672d687474702d666f756e646174696f6e2d687474702d6b65726e656c2f6261646765)](https://www.versioneye.com/php/symfony-util:controller-using-templating-http-foundation-http-kernel)[![Build Status](https://camo.githubusercontent.com/7052b56c0a4f8580a8370e3af9e3158be5e7d24de12cbd96c0066e1cdc6a6e7e/68747470733a2f2f7472617669732d63692e6f72672f73796d666f6e792d7574696c2f636f6e74726f6c6c65722d7573696e672d74656d706c6174696e672d687474702d666f756e646174696f6e2d687474702d6b65726e656c2e7376673f6272616e63683d6d6173746572)](https://travis-ci.org/symfony-util/controller-using-templating-http-foundation-http-kernel)

[![Scrutinizer](https://camo.githubusercontent.com/5c7b42cb1bc2423ad1189f1d42786c8dda69c9aeb6e346584e00b124674486f5/68747470733a2f2f7363727574696e697a65722d63692e636f6d2f672f73796d666f6e792d7574696c2f636f6e74726f6c6c65722d7573696e672d74656d706c6174696e672d687474702d666f756e646174696f6e2d687474702d6b65726e656c2f6261646765732f7175616c6974792d73636f72652e706e673f623d6d6173746572)](https://scrutinizer-ci.com/g/symfony-util/controller-using-templating-http-foundation-http-kernel/?branch=master)[![SensioLabsInsight](https://camo.githubusercontent.com/ec00cf3ecfa30d87adbe5814c716c3061f74d56403ac7da1bb37b018209df60e/68747470733a2f2f696e73696768742e73656e73696f6c6162732e636f6d2f70726f6a656374732f32306664663930392d646564612d343666612d396662352d6463326364663737386330352f6d696e692e706e67)](https://insight.sensiolabs.com/projects/20fdf909-deda-46fa-9fb5-dc2cdf778c05)

Usefullness
-----------

[](#usefullness)

- To be sure than Symfony &gt;= 3.3 as required to call the controller with templating engin as argument.
- Additional functional testing calling the controller from HttpKernel or FrameworkBundle.

Possible improvements
---------------------

[](#possible-improvements)

- Does not pass test with Symfony 4. Travis 445, using Symfony 4, shows mixed components from Symfony 3 and 4 and fails all tests due to bad configuration. Symfony 3.4 fails in a may be similar way.
- Use (yaml) configuraton for test Kernel(s), instead of in php code configuration
- Tests do not use 2 Kernels as intended, the first one configured is the only one! Corrected, OK now!

### Should be a composer *metapackage*

[](#should-be-a-composer-metapackage)

- [metapackage](https://getcomposer.org/doc/04-schema.md#type)
- Maybe all the PHP code has to be moved somewhere else!

Icon: [https://material.io/icons/#ic\_wallpaper](https://material.io/icons/#ic_wallpaper)

###  Health Score

21

—

LowBetter than 19% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity12

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity37

Early-stage or recently created project

 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.

### Community

Maintainers

![](https://www.gravatar.com/avatar/05418642e4b97eda77801e6fa51d18b720e652efcb4aef2e06342e7cf18b6a8a?d=identicon)[Nardberjean](/maintainers/Nardberjean)

---

Top Contributors

[![Nardberjean](https://avatars.githubusercontent.com/u/274837?v=4)](https://github.com/Nardberjean "Nardberjean (496 commits)")

### Embed Badge

![Health badge](/badges/symfony-util-controller-using-templating-http-foundation-http-kernel/health.svg)

```
[![Health](https://phpackages.com/badges/symfony-util-controller-using-templating-http-foundation-http-kernel/health.svg)](https://phpackages.com/packages/symfony-util-controller-using-templating-http-foundation-http-kernel)
```

###  Alternatives

[mustache/mustache

A Mustache implementation in PHP.

3.3k44.6M291](/packages/mustache-mustache)[roots/acorn

Framework for Roots WordPress projects built with Laravel components.

9682.1M97](/packages/roots-acorn)[whitecube/nova-flexible-content

Flexible Content &amp; Repeater Fields for Laravel Nova.

8053.0M25](/packages/whitecube-nova-flexible-content)[mopa/bootstrap-bundle

Easy integration of twitters bootstrap into symfony2

7042.9M33](/packages/mopa-bootstrap-bundle)[limenius/react-bundle

Client and Server-side react rendering in a Symfony Bundle

3871.2M](/packages/limenius-react-bundle)[nicmart/string-template

StringTemplate is a very simple string template engine for php. I've written it to have a thing like sprintf, but with named and nested substutions.

2101.7M30](/packages/nicmart-string-template)

PHPackages © 2026

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