PHP code example of neodev3 / yii2-iframe-viewer
1. Go to this page and download the library: Download neodev3/yii2-iframe-viewer library. Choose the download type require. 2. Extract the ZIP file and open the index.php. 3. Add this code to the index.php.
<?php
require_once('vendor/autoload.php');
/* Start to develop here. Best regards https://php-download.com/ */
neodev3 / yii2-iframe-viewer example snippets
use neo\iframeviewer\IframeWidget;
<?= IframeWidget::widget([
'options' => [
'src' => 'http://127.0.0.1/your-website/survey/default/link?id=14&isIframe=1'
],
]);
php composer.phar