PHPackages                             igogo5yo/yii2-render-many - 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. [Framework](/categories/framework)
4. /
5. igogo5yo/yii2-render-many

ActiveYii2-extension[Framework](/categories/framework)

igogo5yo/yii2-render-many
=========================

Yii Framework 2 extension for render many views in one action (best solution for landing pages or pages with many content blocks)

1.4(9y ago)13362MITPHP

Since Dec 7Pushed 9y ago3 watchersCompare

[ Source](https://github.com/igogo5yo/yii2-render-many)[ Packagist](https://packagist.org/packages/igogo5yo/yii2-render-many)[ RSS](/packages/igogo5yo-yii2-render-many/feed)WikiDiscussions master Synced 4w ago

READMEChangelog (5)Dependencies (1)Versions (6)Used By (0)

RenderMany extension for Yii Framework 2
========================================

[](#rendermany-extension-for-yii-framework-2)

[![Latest Stable Version](https://camo.githubusercontent.com/31c615c1e9e35af22af90b211e9e52e2bf18ad6bdc5f251448d76751a8d15ad6/68747470733a2f2f706f7365722e707567782e6f72672f69676f676f35796f2f796969322d72656e6465722d6d616e792f762f737461626c65)](https://packagist.org/packages/igogo5yo/yii2-render-many) [![Total Downloads](https://camo.githubusercontent.com/012fef8e28c05cf80e7315afc7df55b6cd1247ddb0c2bac1d740e2115519fc4d/68747470733a2f2f706f7365722e707567782e6f72672f69676f676f35796f2f796969322d72656e6465722d6d616e792f646f776e6c6f616473)](https://packagist.org/packages/igogo5yo/yii2-render-many) [![License](https://camo.githubusercontent.com/ab1a93be221db8df8dc4da28197aa4243b7ea02844c1bac7cca1a03bb101c46e/68747470733a2f2f706f7365722e707567782e6f72672f69676f676f35796f2f796969322d72656e6465722d6d616e792f6c6963656e7365)](https://packagist.org/packages/igogo5yo/yii2-render-many) [![Dependency Status](https://camo.githubusercontent.com/0f8c42250c1b24c119742f18a810ef8bbfe5a8c6ea1ab77adcf7b45a41bf2168/68747470733a2f2f7777772e76657273696f6e6579652e636f6d2f757365722f70726f6a656374732f3536363535333631663337366363303033643030306139312f62616467652e7376673f7374796c653d666c6174)](https://www.versioneye.com/user/projects/56655361f376cc003d000a91)

Yii Framework 2 extension for render many views in one action (best solution for landing pages or pages with many content blocks)

Please submit issue reports and pull requests to the main repository. For license information check the [LICENSE](LICENSE.md)-file.

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

[](#installation)

The preferred way to install this extension is through [composer](http://getcomposer.org/download/).

Either run

```
php composer require --prefer-dist igogo5yo/yii2-render-many

```

or add

```
"igogo5yo/yii2-render-many": ">=1.0"

```

to your `composer.json` file

Example
-------

[](#example)

use trait

```
...
class MyController extends Controller {
    use igogo5yo\rendermany\RenderMany;

    public function actionIndex()
    {

        return $this->renderMany([
            'sliderSection' => [
                'slides' => ['img1.jpg', 'img3.jpg', 'img3.jpg']
            ],
            'contentSection' => [
                'title' => 'My post',
                'description' => 'Lorem Ipsum is simply dummy text of the printing and typesetting industry...',
            ],
            'partnersSection' => [
                'partners' => [
                    ['link' => '#', 'name' => 'partner 1'],
                    ['link' => '#', 'name' => 'partner 2'],
                    ['link' => '#', 'name' => 'partner 3'],
                ]
            ],
            'footer' //without passing variables
        ]);
    }
}
```

or extend your controller

```
class MyController extends igogo5yo\rendermany\Controller {
    public function actionIndex()
    {

        return $this->renderMany([
            'sliderSection' => [
                'slides' => ['img1.jpg', 'img3.jpg', 'img3.jpg']
            ],
            'contentSection' => [
                'title' => 'My post',
                'description' => 'Lorem Ipsum is simply dummy text of the printing and typesetting industry...',
            ],
            'partnersSection' => [
                'partners' => [
                    ['link' => '#', 'name' => 'partner 1'],
                    ['link' => '#', 'name' => 'partner 2'],
                    ['link' => '#', 'name' => 'partner 3'],
                ]
            ],
            'footer' //without passing variables
        ]);
    }
}
```

also you can use partial rendering

```
    public function actionIndex()
    {

        return $this->renderMany([
            'sliderSection' => [
                'slides' => ['img1.jpg', 'img3.jpg', 'img3.jpg']
            ],
            'wrapper' => [
                'innerRenders' => $this->renderManyPartial([
                    'innerView1' => [
                        'param1' => 'some data 1'.
                        'param2' => 'some data 2'
                    ],
                    'innerView2' //without passing variables
                ])
            ],
            'footer' //without passing variables
        ]);
    }
```

###  Health Score

31

—

LowBetter than 66% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity16

Limited adoption so far

Community10

Small or concentrated contributor base

Maturity67

Established project with proven stability

 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 ~57 days

Total

5

Last Release

3628d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/74b24c6b7d845222ebf0141718d49ea5b15dbd20d9f42d56104a88a88dbe3520?d=identicon)[igogo5yo](/maintainers/igogo5yo)

---

Top Contributors

[![igogo5yo](https://avatars.githubusercontent.com/u/3601883?v=4)](https://github.com/igogo5yo "igogo5yo (20 commits)")

---

Tags

landing-pagemanyrenderrenderingtraitviewsyii2frameworkyii2viewsrendermanyigogo5yo

### Embed Badge

![Health badge](/badges/igogo5yo-yii2-render-many/health.svg)

```
[![Health](https://phpackages.com/badges/igogo5yo-yii2-render-many/health.svg)](https://phpackages.com/packages/igogo5yo-yii2-render-many)
```

###  Alternatives

[yiisoft/yii2-app-advanced

Yii 2 Advanced Project Template

1.7k960.6k5](/packages/yiisoft-yii2-app-advanced)[yiisoft/yii2-app-basic

Yii 2 Basic Project Template

6761.8M8](/packages/yiisoft-yii2-app-basic)[skeeks/cms

SkeekS CMS — control panel and tools based on php framework Yii2

13725.7k53](/packages/skeeks-cms)[tecnocen/yii2-formgenerator

Yii 2 Library to configure form generator

135.7k](/packages/tecnocen-yii2-formgenerator)

PHPackages © 2026

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