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

ActiveLibrary

agapofff/lightbox
=================

A lightbox gallery plugin for Bootstrap

v3.2.1(11y ago)02GNU GENERAL PUBLIC LICENSEHTML

Since May 23Pushed 3y agoCompare

[ Source](https://github.com/agapofff/lightbox)[ Packagist](https://packagist.org/packages/agapofff/lightbox)[ Docs](https://github.com/ashleydw/lightbox)[ RSS](/packages/agapofff-lightbox/feed)WikiDiscussions master Synced 1mo ago

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

Bootstrap Lightbox
==================

[](#bootstrap-lightbox)

A lightbox module for Bootstrap that supports images, YouTube videos, and galleries - built around Bootstrap's Modal plugin.

See the github page for docs:

Contributing
------------

[](#contributing)

Instead of modifying the /dist/\*.js JavaScript files directly, you should instead modify the ekko-lightbox.js file and run the grunt task.

Copyright and license
---------------------

[](#copyright-and-license)

Code released under [the MIT license](https://github.com/ashleydw/lightbox/blob/master/LICENSE).

Changes
-------

[](#changes)

New config params for advanced configuration of displaying modal.

Defaults:

```
modalClass: '',
modalDialogClass: '',
modalContentClass: '',
modalHeaderClass: '',
modalTitleClass: '',
modalBodyClass: '',
modalFooterClass: '',
modalTitleTag: 'h4',
closeButtonClass: '',
closeButtonContent: '&times;',

```

All params are available to be used as data-attributes.

Example:

```
data-modal-class="modal-class"
data-modal-dialog-class="modal-dialog-class"
data-modal-content-class="modal-content-class"
data-modal-header-class="modal-header-class"
data-modal-title-tag="span"
data-modal-title-class="modal-title-class"
data-close-button-class="close-button-class"
data-close-button-content="X"
data-modal-body-class="modal-body-class"
data-modal-footer-class="modal-footer-class"

```

Loader has been changed to Bootstrap 4 spinner.

```

    Loading...

```

###  Health Score

28

—

LowBetter than 54% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity2

Limited adoption so far

Community17

Small or concentrated contributor base

Maturity67

Established project with proven stability

 Bus Factor1

Top contributor holds 77.8% 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 ~38 days

Recently: every ~48 days

Total

6

Last Release

4182d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/c383d4ec42c7f7ba0fe7b9c05ba7a3b604c5f0ce70c0f10ff9b91b467d8ca3d0?d=identicon)[agapofff](/maintainers/agapofff)

---

Top Contributors

[![ashleydw](https://avatars.githubusercontent.com/u/844437?v=4)](https://github.com/ashleydw "ashleydw (123 commits)")[![agapofff](https://avatars.githubusercontent.com/u/56738935?v=4)](https://github.com/agapofff "agapofff (4 commits)")[![bdewong](https://avatars.githubusercontent.com/u/91126?v=4)](https://github.com/bdewong "bdewong (4 commits)")[![X3Technology](https://avatars.githubusercontent.com/u/1585717?v=4)](https://github.com/X3Technology "X3Technology (4 commits)")[![fireantology](https://avatars.githubusercontent.com/u/511447?v=4)](https://github.com/fireantology "fireantology (3 commits)")[![mervit](https://avatars.githubusercontent.com/u/6680486?v=4)](https://github.com/mervit "mervit (3 commits)")[![troymccabe](https://avatars.githubusercontent.com/u/1299743?v=4)](https://github.com/troymccabe "troymccabe (2 commits)")[![mw-white](https://avatars.githubusercontent.com/u/1402295?v=4)](https://github.com/mw-white "mw-white (2 commits)")[![leibrug](https://avatars.githubusercontent.com/u/7648004?v=4)](https://github.com/leibrug "leibrug (1 commits)")[![marcosnakamine](https://avatars.githubusercontent.com/u/1054003?v=4)](https://github.com/marcosnakamine "marcosnakamine (1 commits)")[![CydGoblin](https://avatars.githubusercontent.com/u/4932347?v=4)](https://github.com/CydGoblin "CydGoblin (1 commits)")[![mthaddon](https://avatars.githubusercontent.com/u/4114742?v=4)](https://github.com/mthaddon "mthaddon (1 commits)")[![AuspeXeu](https://avatars.githubusercontent.com/u/2115696?v=4)](https://github.com/AuspeXeu "AuspeXeu (1 commits)")[![nunomira](https://avatars.githubusercontent.com/u/1017977?v=4)](https://github.com/nunomira "nunomira (1 commits)")[![nyuwec](https://avatars.githubusercontent.com/u/913353?v=4)](https://github.com/nyuwec "nyuwec (1 commits)")[![nzphoenix](https://avatars.githubusercontent.com/u/12363234?v=4)](https://github.com/nzphoenix "nzphoenix (1 commits)")[![RafaPolit](https://avatars.githubusercontent.com/u/4309019?v=4)](https://github.com/RafaPolit "RafaPolit (1 commits)")[![Reewr](https://avatars.githubusercontent.com/u/4729912?v=4)](https://github.com/Reewr "Reewr (1 commits)")[![tobilen](https://avatars.githubusercontent.com/u/8217788?v=4)](https://github.com/tobilen "tobilen (1 commits)")[![Amomo](https://avatars.githubusercontent.com/u/3804110?v=4)](https://github.com/Amomo "Amomo (1 commits)")

---

Tags

jquerybootstrapgallerymodallightbox

### Embed Badge

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

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

###  Alternatives

[kartik-v/bootstrap-fileinput

An enhanced HTML 5 file input for Bootstrap 5.x, 4.x, and 3.x with features for file preview for many file types, multiple selection, ajax uploads, and more.

5.4k7.9M13](/packages/kartik-v-bootstrap-fileinput)[kartik-v/bootstrap-popover-x

Bootstrap Popover Extended - Popover with modal behavior, styling enhancements and more.

1143.4M3](/packages/kartik-v-bootstrap-popover-x)[kartik-v/bootstrap-tabs-x

Extended Bootstrap Tabs with ability to align tabs in multiple ways, add borders, rotated titles, and more.

1021.3M1](/packages/kartik-v-bootstrap-tabs-x)[nicolafranchini/venobox

Responsive JavaScript modal window plugin, touch swipe gallery

7106.8k](/packages/nicolafranchini-venobox)[kartik-v/yii2-popover-x

An extended bootstrap 3.0 popover widget which combines both the bootstrap popover and modal features and includes various new styling enhancements.

233.4M8](/packages/kartik-v-yii2-popover-x)[kartik-v/yii2-tabs-x

A supercharged Bootstrap tabs widget with ability to align tabs in multiple ways, add borders, rotated titles, and more.

301.4M20](/packages/kartik-v-yii2-tabs-x)

PHPackages © 2026

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