PHP code example of michaeldomo / yii2-instagram-widget

1. Go to this page and download the library: Download michaeldomo/yii2-instagram-widget 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/ */

    

michaeldomo / yii2-instagram-widget example snippets


use app\widgets\InstagramWidget;
echo InstagramWidget::widget([
    'channel' => 'zuch',
    'limit' => 22,
]);