PHPackages                             globaloxs/yii2-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. [Templating &amp; Views](/categories/templating)
4. /
5. globaloxs/yii2-lightbox2

ActiveYii2-extension[Templating &amp; Views](/categories/templating)

globaloxs/yii2-lightbox2
========================

Lightbox widget for Yii2

1.0(11y ago)0241Apache-2.0PHP

Since May 14Pushed 10y ago2 watchersCompare

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

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

Lightbox Widget for Yii 2
=========================

[](#lightbox-widget-for-yii-2)

- Lightbox widget based on Lightbox2 extension

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

[](#installation)

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

Either run

```
php composer.phar require --prefer-dist branchonline/yii2-lightbox "*"

```

or add

```
"branchonline/yii2-lightbox": "*"
```

to the require section of your composer.json.

Usage
-----

[](#usage)

Once the extension is installed, simply add widget to your page as follows:

```
echo Lightbox::widget([
    'files' => [
        [
            'thumb' => 'url/to/thumb.ext',
            'original' => 'url/to/original.ext',
            'title' => 'optional title',
        ],
    ]
]);
```

###  Health Score

27

—

LowBetter than 49% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity7

Limited adoption so far

Community9

Small or concentrated contributor base

Maturity63

Established project with proven stability

 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

Unknown

Total

1

Last Release

4023d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/135ca2f1f096bee52256cf95c81baaa9e8e1686f8512a3571eb1c4527715a49a?d=identicon)[davidoxs](/maintainers/davidoxs)

---

Top Contributors

[![david-oxs](https://avatars.githubusercontent.com/u/13023718?v=4)](https://github.com/david-oxs "david-oxs (2 commits)")

---

Tags

yii2module

### Embed Badge

![Health badge](/badges/globaloxs-yii2-lightbox2/health.svg)

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

###  Alternatives

[craftcms/cms

Craft CMS

3.6k3.6M2.6k](/packages/craftcms-cms)[luyadev/luya-bootstrap4

Bootstrap4 Assets and Helper classes like ActiveForm for LUYA and Yii2.

1843.9k3](/packages/luyadev-luya-bootstrap4)[marqu3s/yii2-summernote

Yii2 Summernote widget. Super simple WYSIWYG editor on Bootstrap

1691.6k8](/packages/marqu3s-yii2-summernote)[zxbodya/yii2-tinymce

Yii2 extension to use TinyMce with Compressor and FileManager

1732.1k3](/packages/zxbodya-yii2-tinymce)

PHPackages © 2026

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