PHPackages                             truongwp/gallery-meta-box - 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. truongwp/gallery-meta-box

ActiveLibrary[Utility &amp; Helpers](/categories/utility)

truongwp/gallery-meta-box
=========================

Provides a simple gallery meta box for WordPress.

0.1.2(8y ago)2301[1 PRs](https://github.com/truongwp/gallery-meta-box/pulls)MITPHP

Since Jul 2Pushed 8y ago2 watchersCompare

[ Source](https://github.com/truongwp/gallery-meta-box)[ Packagist](https://packagist.org/packages/truongwp/gallery-meta-box)[ RSS](/packages/truongwp-gallery-meta-box/feed)WikiDiscussions master Synced 3w ago

READMEChangelogDependenciesVersions (4)Used By (0)

Gallery Meta Box
----------------

[](#gallery-meta-box)

This is a library for including in plugin, not a WordPress plugin.

### How to use

[](#how-to-use)

If you use composer, run `composer require truongwp/gallery-meta-box`.

Or you can include file `gallery-meta-box.php`.

### Hooks reference

[](#hooks-reference)

```
/**
 * Fires after saving gallery data.
 *
 * @var int     $post_id Post ID.
 * @var WP_Post $post    Post object.
 * @var bool    $update  Whether this is an existing post being updated or not.
 */
do_action( 'gallery_meta_box_save', $post_id, $post, $update );
```

```
/**
 * Filters supported post types.
 *
 * @var array $post_types List supported post types.
 */
apply_filters( 'gallery_meta_box_post_types', $post_types );
```

```
/**
 * Filters meta key to store the gallery.
 *
 * @var string $meta_key Meta key.
 */
apply_filters( 'gallery_meta_box_meta_key', $meta_key );
```

###  Health Score

26

—

LowBetter than 41% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity11

Limited adoption so far

Community9

Small or concentrated contributor base

Maturity55

Maturing project, gaining track record

 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 ~10 days

Total

3

Last Release

3265d ago

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/19748318?v=4)[Truong Giang](/maintainers/truongwp)[@truongwp](https://github.com/truongwp)

---

Top Contributors

[![truongwp](https://avatars.githubusercontent.com/u/19748318?v=4)](https://github.com/truongwp "truongwp (11 commits)")

---

Tags

gallerygallery-pluginmeta-boxwordpresswordpress-pluginwordpressgallerymeta-box

### Embed Badge

![Health badge](/badges/truongwp-gallery-meta-box/health.svg)

```
[![Health](https://phpackages.com/badges/truongwp-gallery-meta-box/health.svg)](https://phpackages.com/packages/truongwp-gallery-meta-box)
```

###  Alternatives

[wpmetabox/meta-box

The most powerful &amp; comprehensive plugin to create, manage, show and connect dynamic data with forms and custom fields effortlessly on WordPress.

1.2k20.7k4](/packages/wpmetabox-meta-box)[rilwis/meta-box

The most powerful &amp; comprehensive plugin to create, manage, show and connect dynamic data with forms and custom fields effortlessly on WordPress.

1.2k1.8k1](/packages/rilwis-meta-box)[aristath/kirki

Extending the WordPress customizer

1.3k73.1k4](/packages/aristath-kirki)[wpmetabox/mb-relationships

A lightweight solution for creating many-to-many posts to posts relationships in WordPress.

291.2k3](/packages/wpmetabox-mb-relationships)

PHPackages © 2026

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