PHPackages                             coderius/yii2-lightbox2-widget - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [Utility &amp; Helpers](/categories/utility)
4. /
5. coderius/yii2-lightbox2-widget

ActiveYii2-extension[Utility &amp; Helpers](/categories/utility)

coderius/yii2-lightbox2-widget
==============================

Yii 2 lightbox2-widget

v1.0.0(7y ago)210.9k↓45%5[2 PRs](https://github.com/coderius/yii2-lightbox2-widget/pulls)MITPHPPHP &gt;=5.4.0

Since Jul 1Pushed 3y agoCompare

[ Source](https://github.com/coderius/yii2-lightbox2-widget)[ Packagist](https://packagist.org/packages/coderius/yii2-lightbox2-widget)[ RSS](/packages/coderius-yii2-lightbox2-widget/feed)WikiDiscussions master Synced 1mo ago

READMEChangelogDependencies (3)Versions (2)Used By (0)

Lightbox2 widget for Yii2
=========================

[](#lightbox2-widget-for-yii2)

The Lightbox2 widget is a customized lightbox script based on [Lightbox](https://lokeshdhakar.com/projects/lightbox2/). and This widget used to overlay images on top of the current page.

[![alt text](https://github.com/coderius/github-images/raw/master/pic1.png "Description goes here")](https://github.com/coderius/github-images/blob/master/pic1.png)

Installation
------------

[](#installation)

The preferred way to install this extension is through [composer](http://getcomposer.org/download/).

Either run

```
php composer.phar require coderius/yii2-lightbox2-widget "@dev"

```

or add

```
"coderius/yii2-lightbox2-widget" : "@dev"
```

to the require section of your application's `composer.json` file.

Usage
-----

[](#usage)

- In view:

```
use coderius\lightbox2\Lightbox2;
