PHP code example of b4djo / yii2-popup-image

1. Go to this page and download the library: Download b4djo/yii2-popup-image 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/ */

    

b4djo / yii2-popup-image example snippets


<?= \b4djo\popup_image\PopupImageWidget::widget([
    'thumbnail'     => $thumbnailUrl,
    'source'        => $sourceUrl,
    'description'   => $description,
]); 

php composer.phar