PHPackages                             vunamhung/cmb2\_tab - 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. vunamhung/cmb2\_tab

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

vunamhung/cmb2\_tab
===================

This is a CMB2 Extension repository which help modify the default behavior of CMB2 and extends it's functionality.

1.0.3(6y ago)42.3k↓100%[1 issues](https://github.com/vunamhung/cmb2_tab/issues)GPL-3.0+JavaScriptPHP &gt;=5.6.0

Since Jan 21Pushed 6y ago2 watchersCompare

[ Source](https://github.com/vunamhung/cmb2_tab)[ Packagist](https://packagist.org/packages/vunamhung/cmb2_tab)[ Docs](https://github.com/vunamhung/cmb2_tab)[ RSS](/packages/vunamhung-cmb2-tab/feed)WikiDiscussions master Synced 1mo ago

READMEChangelogDependenciesVersions (6)Used By (0)

CMB2 Tab
========

[](#cmb2-tab)

Tabs for [CMB2](https://github.com/WebDevStudios/CMB2).

How it works?
-------------

[](#how-it-works)

This plugin adds new parameters to CMB2 boxes:

- vertical\_tabs (bool)
- tabs (array)

Example
-------

[](#example)

```
add_action( 'cmb2_admin_init', 'cmb2_sample_metabox' );
function cmb2_sample_metabox() {
	$cmb_demo = new_cmb2_box([
		'id' => 'metabox',
		'title' => __('Test Metabox', 'cmb2'),
		'object_types' => ['page', 'post'], // Post type
		'vertical_tabs' => true, // Set vertical tabs, default false
		'tabs' => [
			[
				'id' => 'tab-1',
				'icon' => 'dashicons-admin-site',
				'title' => 'Tab 1',
				'fields' => ['field_1', 'field_2'],
			],
			[
				'id' => 'tab-2',
				'icon' => 'dashicons-align-left',
				'title' => 'Tab 2',
				'fields' => ['field_3', 'field_4'],
			],
		],
	]);

	$cmb_demo->add_field([
		'name' => __('Test field 1', 'cmb2'),
		'id' => 'field_1',
		'type' => 'text',
	]);

	$cmb_demo->add_field([
		'name' => __('Test field 2', 'cmb2'),
		'id' => 'field_2',
		'type' => 'text',
	]);

	$cmb_demo->add_field([
		'name' => __('Test field 3', 'cmb2'),
		'id' => 'field_3',
		'type' => 'text',
	]);

	$cmb_demo->add_field([
		'name' => __('Test field 4', 'cmb2'),
		'id' => 'field_4',
		'type' => 'text',
	]);
}
```

###  Health Score

28

—

LowBetter than 54% of packages

Maintenance15

Infrequent updates — may be unmaintained

Popularity23

Limited adoption so far

Community8

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

Total

4

Last Release

2264d ago

### Community

Maintainers

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

---

Top Contributors

[![vunamhung](https://avatars.githubusercontent.com/u/59323806?v=4)](https://github.com/vunamhung "vunamhung (13 commits)")

---

Tags

cmb2wordpresswordpressCMB2cmb2\_tab

### Embed Badge

![Health badge](/badges/vunamhung-cmb2-tab/health.svg)

```
[![Health](https://phpackages.com/badges/vunamhung-cmb2-tab/health.svg)](https://phpackages.com/packages/vunamhung-cmb2-tab)
```

###  Alternatives

[tgmpa/tgm-plugin-activation

TGM Plugin Activation is a PHP library that allows you to easily require or recommend plugins for your WordPress themes (and plugins).

1.8k222.5k13](/packages/tgmpa-tgm-plugin-activation)[aristath/kirki

Extending the WordPress customizer

1.3k73.0k4](/packages/aristath-kirki)[afragen/git-updater

A plugin to automatically update GitHub, Bitbucket, GitLab, or Gitea hosted plugins, themes, and language packs.

3.3k1.6k](/packages/afragen-git-updater)[justintadlock/hybrid-carbon

God-like post featured image script.

202.5k](/packages/justintadlock-hybrid-carbon)

PHPackages © 2026

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