PHPackages                             bajhoe/yii2-widget-lightbox2 - 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. bajhoe/yii2-widget-lightbox2

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

bajhoe/yii2-widget-lightbox2
============================

Yii 2 lightbox2 widget

v1.0.1(4y ago)0235MITPHPPHP &gt;=5.4.0

Since Jul 1Pushed 4y agoCompare

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

READMEChangelog (1)Dependencies (3)Versions (3)Used By (0)

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

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

Forked from Coderius. Forking reason: neutralize script and fixing minor bugs. 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 bajhoe/yii2-widget-lightbox2 "*"

```

or add

```
"bajhoe/yii2-widget-lightbox2" : "*"
```

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

Usage
-----

[](#usage)

- In view:

```
use coderius\lightbox2\Lightbox2;
