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

pkg:composer/mdq/yii2-widget-ekkolightbox

1.0.0 2017-11-22 18:27 UTC

This package is not auto-updated.

Last update: 2025-12-21 10:03:10 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']
]); ?>