# CMB2/CMB2

CMB2 is a developer's toolkit for building metaboxes, custom fields, and forms for WordPress that will blow your mind.

Repository: https://github.com/CMB2/CMB2
Canonical: https://ross.abutalabs.com/products/cmb2
Language: PHP
License: GPL-3.0
License Family: copyleft
Topics: cmb2, php, wordpress, metaboxes, cmb2-fields, repeater-field, custom-metaboxes
Last push: 2026-07-21T19:31:12+00:00

## Health v2 (maintenance only)
Score: 81/100 (v2, computed 2026-09-03T02:39:23.370411+00:00)
- activity 93, release rhythm 54, longevity 100
- inputs: {"age_days": 4396, "days_push": 43, "days_rel": 95, "gap_med": 410, "n_releases_24m": 2}
- flags: none
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 3015, forks 560 (observed 2026-08-28T04:07:37.959367+00:00)

## What it is
CMB2 is a PHP developer's toolkit for building metaboxes, custom fields, and forms in WordPress. It manages meta for posts, terms, users, and comments, and supports creating custom option pages.

## Use cases
- add custom fields to WordPress post edit screens
- build metaboxes for posts, terms, users, or comments
- create custom WordPress option/settings pages
- define repeatable field groups in WordPress admin
- build forms for WordPress front-end or admin

## When to choose
- you develop WordPress themes or plugins needing custom meta fields
- you want a mature, widely used metabox framework with many field types
- you need option pages or repeatable fields without writing raw admin UI code

## When to avoid
- you are not working with WordPress
- you prefer Gutenberg block-based field UIs over classic metaboxes
- you need a framework for non-PHP stacks

## Facets
- artifact type: library
- maturity: stable
- function: ui-components, form-handling, developer-tools
- domain: cms, web-development, developer-tools
- platform: php
- tags: wordpress, metaboxes, custom-fields, forms, options-pages, repeater-fields, web-server

## Member repositories
- CMB2/CMB2 (main) score 81

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:07:37.959367+00:00.
- Health v2: computed from the inputs above; adoption is never an input.
- Inferred fields (summary, facets, guidance): AI-extracted, prompt v1, taxonomy v1, on 2026-08-30T07:30:09.359543+00:00, confidence not recorded.
  - readme: https://github.com/CMB2/CMB2 (fetched 2026-08-28T04:07:37.959367+00:00, sha 2aa6d4aeac29)
- Data as of 2026-08-30T08:39:29.467469+00:00.
