mdq / yii2-widget-ekkolightbox
http://ashleydw.github.io/lightbox/
Installs: 39
Dependents: 0
Suggesters: 0
Security: 0
Stars: 0
Watchers: 1
Forks: 0
Open Issues: 0
Type:yii2-extension
Requires
- bower-asset/ekko-lightbox: ^5.3
- yiisoft/yii2: *
This package is not auto-updated.
Last update: 2025-05-11 06:45:42 UTC
README
http://ashleydw.github.io/lightbox/
Installation
The preferred way to install this extension is through composer.
Either run
php composer.phar require mdq/yii2-widget-ekkolightbox "*"
or add
"mdq/yii2-widget-ekkolightbox": "*"
to the require section of your composer.json
file.
Require Bootstrap 4. You can use:
"bower-asset/bootstrap": "~4.0.0@alpha",
"yiisoft/yii2-bootstrap": "2.1.x-dev as 2.0.0",
Usage
Once the extension is installed, simply use it in your code by :
use mdq\ekkolightbox\LightBox; <?= Lightbox::widget([ 'text' => 'text or image thumb', 'url' => ['image or embed video link'], 'settings' => ['js pluggins settings'], 'options' => ['html tag properties'] ]); ?>