PHPackages                             neodev3/yii2-iframe-viewer - 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. [Templating &amp; Views](/categories/templating)
4. /
5. neodev3/yii2-iframe-viewer

ActiveYii2-extension[Templating &amp; Views](/categories/templating)

neodev3/yii2-iframe-viewer
==========================

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

v1.0(5y ago)02841MITPHP

Since Feb 7Pushed 5y ago1 watchersCompare

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

READMEChangelog (1)Dependencies (1)Versions (2)Used By (1)

Iframe viewer
=============

[](#iframe-viewer)

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

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

[](#installation)

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

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
-----

[](#usage)

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

```
use neo\iframeviewer\IframeWidget;
