Search by

neodev3 / yii2-iframe-viewer

newdev3

This will render website in iframe and auto resize according to the content.

Package info

github.com/neodev3/yii2-iframe-viewer

Type:yii2-extension

pkg:composer/neodev3/yii2-iframe-viewer

Statistics

Installs: 292

Dependents: 1

Suggesters: 0

Stars: 0

Open Issues: 0

v1.0 2021-02-07 10:35 UTC

This package is auto-updated.

Last update: 2026-09-07 23:02:29 UTC


README

This will render website in iframe and auto resize according to the content.

Installation

The preferred way to install this extension is through composer.

Either run

php composer.phar require --prefer-dist neodev3/yii2-iframe-viewer "*"

or add

"neodev3/yii2-iframe-viewer": "*"

to the require section of your composer.json file.

Usage

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

use neo\iframeviewer\IframeWidget;
<?=  IframeWidget::widget([
                    'options' => [
                       'src' => 'http://127.0.0.1/your-website/survey/default/link?id=14&isIframe=1'
                    ],
                ]); ?>```