Asset for adding fancybox functionality to your pages
The preferred way to install this extension is through composer.
Either run
composer require andrewdanilov/yii2-fancybox "~1.0.0"
or add
"andrewdanilov/yii2-fancybox": "~1.0.0"
to the require section of your composer.json
file.
Register asset bundle in View
<?php
/* @var $this \yii\web\View */
\andrewdanilov\fancybox\FancyboxAsset::register($this);