PHPackages                             kuliev/yii2-lightbox - 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. kuliev/yii2-lightbox

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

kuliev/yii2-lightbox
====================

Lightbox2 widget for Yii2

v1.0.1(4mo ago)08MITPHP

Since Feb 28Pushed 4mo agoCompare

[ Source](https://github.com/kuliev/yii2-lightbox)[ Packagist](https://packagist.org/packages/kuliev/yii2-lightbox)[ RSS](/packages/kuliev-yii2-lightbox/feed)WikiDiscussions main Synced today

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

Lightbox widget for Yii2
========================

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

Lightbox widget for Yii2

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

[](#installation)

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

Either run

```
php composer.phar require --prefer-dist kuliev/yii2-lightbox "^1.0"

```

or add

```
"kuliev/yii2-lightbox": "^1.0"

```

to the require section of your `composer.json` file.

Usage
-----

[](#usage)

Once the extension is installed, simply use it in your code by :

```
use kuliev\lightbox\Lightbox;

echo Lightbox::widget([
    'options' => [
        'fadeDuration' => '2000',
        'albumLabel' => "Image %1 of %2",
    ],
    'linkOptions' => ['class' => 'pull-left'],
    'imageOptions' => ['class' => 'thumbnail'],
    'items' => [
        [
            'thumb' => '/images/image01-120x90.jpg',
            'image' => '/images/image01.jpg',
            'title' => 'Image 1',
            'group' => 'image-set1',
        ],
        [
            'thumb' => '/images/image02-120x90.jpg',
            'image' => '/images/image02.jpg',
            'title' => 'Image 2',
            'group' => 'image-set1',
        ],
    ],
]);
```

###  Health Score

32

—

LowBetter than 69% of packages

Maintenance77

Regular maintenance activity

Popularity4

Limited adoption so far

Community6

Small or concentrated contributor base

Maturity35

Early-stage or recently created project

 Bus Factor1

Top contributor holds 100% of commits — single point of failure

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

###  Release Activity

Cadence

Every ~0 days

Total

2

Last Release

126d ago

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/11804396?v=4)[kuliev](/maintainers/kuliev)[@kuliev](https://github.com/kuliev)

---

Top Contributors

[![kuliev](https://avatars.githubusercontent.com/u/11804396?v=4)](https://github.com/kuliev "kuliev (2 commits)")

---

Tags

yii2extensionlightbox2

### Embed Badge

![Health badge](/badges/kuliev-yii2-lightbox/health.svg)

```
[![Health](https://phpackages.com/badges/kuliev-yii2-lightbox/health.svg)](https://phpackages.com/packages/kuliev-yii2-lightbox)
```

###  Alternatives

[dmstr/yii2-cookie-consent

Yii2 Cookie Consent Widget

1455.6k](/packages/dmstr-yii2-cookie-consent)[imanilchaudhari/yii2-currency-converter

This extension will help to find out current currency conversion rate.

2111.7k](/packages/imanilchaudhari-yii2-currency-converter)[richardfan1126/yii2-js-register

Yii2 widget to register JS into view

1359.3k7](/packages/richardfan1126-yii2-js-register)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
