PHPackages                             golles/yii2-widgets - 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. [Utility &amp; Helpers](/categories/utility)
4. /
5. golles/yii2-widgets

AbandonedArchivedYii2-extension[Utility &amp; Helpers](/categories/utility)

golles/yii2-widgets
===================

My Yii2 widgets that I want to share with the world

01611PHP

Since Mar 4Pushed 11y ago1 watchersCompare

[ Source](https://github.com/golles/yii2-widgets)[ Packagist](https://packagist.org/packages/golles/yii2-widgets)[ RSS](/packages/golles-yii2-widgets/feed)WikiDiscussions master Synced 1mo ago

READMEChangelogDependenciesVersions (1)Used By (0)

Yii2 Widgets
============

[](#yii2-widgets)

This repository contains my widgets for the Yii2 Framework.

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

[](#installation)

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

Either run

```
php composer.phar require --prefer-dist golles/yii2-widgets "*"

```

or add

```
"golles/yii2-widgets": "*"

```

to the require section of your `composer.json` file.

Usage
-----

[](#usage)

Once the extension is installed, simply use it in your code:

### IframeAutoHeight

[](#iframeautoheight)

This widget generates an iframe object in the dom that adjusts it's height automatically based on the height of the iframes content. The result is that it looks like the iframe content is normal page content, it won't look like there is an iframe at all.

Note, this only works on iframes on the same domain.

```
echo IframeAutoHeight::widget([
    'intervalTime' => 500,
    'noIframeSupportText' => 'Your browser does not support iframes.',
    'iframeOptions' => [
        'id' => 'webalizerIframe',
        'src' => 'http://mydomain.com/iframe.html',
        'width' => '100%',
        'height' => '500px',
        'frameborder' => '0',
        'scrolling' => 'no'

     ]
]);
```

###  Health Score

21

—

LowBetter than 19% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity11

Limited adoption so far

Community5

Small or concentrated contributor base

Maturity41

Maturing project, gaining track record

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/705d79919b11c7733cba1350d60b59b6eaf1e1a3029d7867c024f28588e6ec8e?d=identicon)[golles](/maintainers/golles)

### Embed Badge

![Health badge](/badges/golles-yii2-widgets/health.svg)

```
[![Health](https://phpackages.com/badges/golles-yii2-widgets/health.svg)](https://phpackages.com/packages/golles-yii2-widgets)
```

PHPackages © 2026

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