neodev3 / yii2-iframe-viewer
This will render website in iframe and auto resize according to the content.
Installs: 271
Dependents: 1
Suggesters: 0
Security: 0
Stars: 0
Watchers: 1
Forks: 0
Open Issues: 0
Type:yii2-extension
pkg:composer/neodev3/yii2-iframe-viewer
Requires
- yiisoft/yii2: *
This package is auto-updated.
Last update: 2025-10-07 20:51:37 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' ], ]); ?>```