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(2mo ago)06MITPHP

Since Feb 28Pushed 2mo 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 1mo ago

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

34

—

LowBetter than 77% of packages

Maintenance86

Actively maintained with recent releases

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

73d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/01d1d8aafa192b3b16f7801eb1d0e67c0a0e53b6595dc4b412056a0a95fe858b?d=identicon)[kuliev](/maintainers/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

1452.6k](/packages/dmstr-yii2-cookie-consent)[richardfan1126/yii2-js-register

Yii2 widget to register JS into view

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

PHPackages © 2026

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