PHP code example of bajhoe / yii2-widget-lightbox2

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

    

bajhoe / yii2-widget-lightbox2 example snippets


use coderius\lightbox2\Lightbox2;

<?= coderius\lightbox2\Lightbox2::widget([
    'clientOptions' => [
        'resizeDuration' => 200,
        'wrapAround' => true,
        
    ]
]); 

php composer.phar