PHPackages                             knplabs/rad-view-renderer - 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. knplabs/rad-view-renderer

AbandonedArchivedLibrary

knplabs/rad-view-renderer
=========================

v2.1.0(8y ago)244.5k2MITPHPPHP ~7.0

Since Jan 14Pushed 3y ago27 watchersCompare

[ Source](https://github.com/KnpLabs/rad-view-renderer)[ Packagist](https://packagist.org/packages/knplabs/rad-view-renderer)[ RSS](/packages/knplabs-rad-view-renderer/feed)WikiDiscussions master Synced today

READMEChangelog (2)Dependencies (7)Versions (10)Used By (0)

DEPRECATED
==========

[](#deprecated)

Unfortunately we decided to not maintain this project anymore ([see why](https://knplabs.com/en/blog/news-for-our-foss-projects-maintenance)). If you want to mark another package as a replacement for this one please send an email to .

Rad view renderer
=================

[](#rad-view-renderer)

Allow to guess a view when the controller does not return a Response.

[![Build Status](https://camo.githubusercontent.com/6ad66c685ff26db4d32d8dafcb0ac12373b4fcdde863dd404ddc794af0f24518/68747470733a2f2f7472617669732d63692e6f72672f4b6e704c6162732f7261642d766965772d72656e64657265722e7376673f6272616e63683d6d6173746572)](https://travis-ci.org/KnpLabs/rad-view-renderer)[![Scrutinizer Code Quality](https://camo.githubusercontent.com/472789c398884bf68153d4df3d49b8993bd47e8bfa0e653764d8a57618127fa0/68747470733a2f2f7363727574696e697a65722d63692e636f6d2f672f4b6e704c6162732f7261642d766965772d72656e64657265722f6261646765732f7175616c6974792d73636f72652e706e673f623d6d6173746572)](https://scrutinizer-ci.com/g/KnpLabs/rad-view-renderer/?branch=master)[![Latest Stable Version](https://camo.githubusercontent.com/06770e10bc92b16cfc61d219962768279554910f1cdf5774f9240a2631f0d66b/68747470733a2f2f706f7365722e707567782e6f72672f6b6e706c6162732f7261642d766965772d72656e64657265722f762f737461626c65)](https://packagist.org/packages/knplabs/rad-view-renderer) [![Total Downloads](https://camo.githubusercontent.com/2855612600faa85acb4960035e5ac492c2b7724be71ab7b484c594686d5feb45/68747470733a2f2f706f7365722e707567782e6f72672f6b6e706c6162732f7261642d766965772d72656e64657265722f646f776e6c6f616473)](https://packagist.org/packages/knplabs/rad-view-renderer) [![Latest Unstable Version](https://camo.githubusercontent.com/70a48dc0ac497d9b135fb26f8c2354b19998523fa801fdcf5a8aa7d515ba8023/68747470733a2f2f706f7365722e707567782e6f72672f6b6e706c6162732f7261642d766965772d72656e64657265722f762f756e737461626c65)](https://packagist.org/packages/knplabs/rad-view-renderer) [![License](https://camo.githubusercontent.com/9c952802b21f995371b6ac62dc48fdfbb6c83cb45f8f5f7eed11214bdf04a6bc/68747470733a2f2f706f7365722e707567782e6f72672f6b6e706c6162732f7261642d766965772d72656e64657265722f6c6963656e7365)](https://packagist.org/packages/knplabs/rad-view-renderer)

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

[](#installation)

Install the library:

```
$ composer require knplabs/rad-view-renderer

```

If you are using Symfony, add the bundle inside your `AppKernel.php`:

```
$bundles = array(
    // ...
    new Knp\Rad\ViewRenderer\Bundle\ViewRendererBundle(),
);
```

Usage
-----

[](#usage)

Let's take the following controller:

```
namespace App\Controller;

class TestController
{
    public function someAction()
    {
        return ['foo' => 'bar'];
    }
}
```

By default the rad view renderer will take a look of the **request content type**in order to guess wich kind of render it will use. It exists many kind of renderer that can display many content types.

You can disable some native renderers using the `renderers` parameter in your `config.yml`:

```
knp_rad_view_renderer:
    renderers: [controller, twig]
```

### The twig renderer

[](#the-twig-renderer)

One of the most useful renderer, it takes the controller class in order to guess the template to display. For example:

```
App\Controller\TestController::someAction => @App/Resources/views/Test/some.%format%.twig

```

###  Health Score

36

↑

LowBetter than 83% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity29

Limited adoption so far

Community20

Small or concentrated contributor base

Maturity64

Established project with proven stability

 Bus Factor1

Top contributor holds 53.8% 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 ~222 days

Total

5

Last Release

3104d ago

Major Versions

v1.0.1 → v2.0.02016-03-03

PHP version history (2 changes)v1.0.0PHP &gt;=5.4

v2.1.0PHP ~7.0

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/202732?v=4)[KNP Labs](/maintainers/KnpLabs)[@KnpLabs](https://github.com/KnpLabs)

---

Top Contributors

[![PedroTroller](https://avatars.githubusercontent.com/u/1766827?v=4)](https://github.com/PedroTroller "PedroTroller (7 commits)")[![AntoineLelaisant](https://avatars.githubusercontent.com/u/4592355?v=4)](https://github.com/AntoineLelaisant "AntoineLelaisant (1 commits)")[![Djeg](https://avatars.githubusercontent.com/u/1638230?v=4)](https://github.com/Djeg "Djeg (1 commits)")[![alexpozzi](https://avatars.githubusercontent.com/u/8307861?v=4)](https://github.com/alexpozzi "alexpozzi (1 commits)")[![polc](https://avatars.githubusercontent.com/u/3513348?v=4)](https://github.com/polc "polc (1 commits)")[![wysow](https://avatars.githubusercontent.com/u/632747?v=4)](https://github.com/wysow "wysow (1 commits)")[![nueffl](https://avatars.githubusercontent.com/u/108008?v=4)](https://github.com/nueffl "nueffl (1 commits)")

### Embed Badge

![Health badge](/badges/knplabs-rad-view-renderer/health.svg)

```
[![Health](https://phpackages.com/badges/knplabs-rad-view-renderer/health.svg)](https://phpackages.com/packages/knplabs-rad-view-renderer)
```

###  Alternatives

[prestashop/prestashop

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

9.0k14.6k](/packages/prestashop-prestashop)[ec-cube/ec-cube

EC-CUBE EC open platform.

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

Symfony FMBbCodeBundle

58206.3k](/packages/helios-ag-fm-bbcode-bundle)[mapbender/mapbender

Mapbender library

10117.0k5](/packages/mapbender-mapbender)[regularjack/frontend-bundle

A modern frontend development workflow for Symfony apps

3022.6k](/packages/regularjack-frontend-bundle)[paymentsuite/paymentsuite

PaymentSuite is an easy implementation for lot of Payment Methods for Symfony projects

2615.4k2](/packages/paymentsuite-paymentsuite)

PHPackages © 2026

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