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

ActiveLibrary

namhong1983/grid-lightbox
=========================

Turn your grid into a lightbox &amp; gallery

v1.0.2(7y ago)06MITCSSPHP &gt;=7.0.0

Since Sep 12Pushed 7y ago1 watchersCompare

[ Source](https://github.com/namhong1983/grid-lightbox)[ Packagist](https://packagist.org/packages/namhong1983/grid-lightbox)[ Docs](https://github.com/laravel-admin-ext/grid-lightbox)[ RSS](/packages/namhong1983-grid-lightbox/feed)WikiDiscussions master Synced 2mo ago

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

Turn your grid into a lightbox &amp; gallery
============================================

[](#turn-your-grid-into-a-lightbox--gallery)

This is an extension to integrates [Magnific Popup](http://dimsemenov.com/plugins/magnific-popup/) into laravel-admin.

DEMO [lightbox](http://demo.laravel-admin.org/lightbox/lightbox) &amp; [gallery](http://demo.laravel-admin.org/lightbox/gallery)

Login using `admin/admin`

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

[](#installation)

```
composer require namhong1983/grid-lightbox

php artisan vendor:publish --tag=laravel-admin-grid-lightbox
```

Configurations
--------------

[](#configurations)

Open `config/admin.php`, add configurations that belong to this extension at `extensions` section.

```
    'extensions' => [

        'grid-lightbox' => [

            // Set to `false` if you want to disable this extension
            'enable' => true,
        ]
    ]
```

Usage
-----

[](#usage)

Use it in the grid:

```
// simple lightbox
$grid->picture()->lightbox();

//gallery
$grid->picture()->gallery();

//zoom effect
$grid->picture()->lightbox(['zooming' => true]);
$grid->picture()->gallery(['zooming' => true]);

//width & height properties
$grid->picture()->lightbox(['width' => 50, 'height' => 50]);
$grid->picture()->gallery(['width' => 50, 'height' => 50]);

//img class properties
$grid->picture()->lightbox(['class' => 'rounded']);
$grid->picture()->gallery(['class' => ['circle', 'thumbnail']]);
```

License
-------

[](#license)

Licensed under [The MIT License (MIT)](LICENSE).

###  Health Score

26

—

LowBetter than 43% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity4

Limited adoption so far

Community11

Small or concentrated contributor base

Maturity59

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 50% 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 ~88 days

Total

3

Last Release

2620d ago

### Community

Maintainers

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

---

Top Contributors

[![z-song](https://avatars.githubusercontent.com/u/1479100?v=4)](https://github.com/z-song "z-song (6 commits)")[![jxlwqq](https://avatars.githubusercontent.com/u/2421068?v=4)](https://github.com/jxlwqq "jxlwqq (3 commits)")[![namhong1983](https://avatars.githubusercontent.com/u/17540396?v=4)](https://github.com/namhong1983 "namhong1983 (2 commits)")[![mhanoglu](https://avatars.githubusercontent.com/u/8195419?v=4)](https://github.com/mhanoglu "mhanoglu (1 commits)")

---

Tags

gridextensiongallerylightboxlaravel-admin

###  Code Quality

TestsPHPUnit

### Embed Badge

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

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

###  Alternatives

[laravel-admin-ext/grid-lightbox

Turn your grid into a lightbox &amp; gallery

58180.9k2](/packages/laravel-admin-ext-grid-lightbox)[laravel-admin-ext/grid-sortable

Sort the grid data by drag and drop rows

42119.3k](/packages/laravel-admin-ext-grid-sortable)

PHPackages © 2026

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