PHP code example of gearmagicru / gm-wd-fancybox

1. Go to this page and download the library: Download gearmagicru/gm-wd-fancybox 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/ */

    

gearmagicru / gm-wd-fancybox example snippets


$lightbox = Gm::$app->widgets->get('gm.wd.fancybox', ['width' => 600, 'height' => 400]);
$lightbox->run();

$this->widget('gm.wd.fancybox', ['width' => 600, 'height' => 400])->run();

use Gm\Widget\Fancybox\Widget as Lightbox;
Lightbox::widget(['width' => 600, 'height' => 400])->run();