PHPackages                             bojaghi/meta-boxes - 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. bojaghi/meta-boxes

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

bojaghi/meta-boxes
==================

WordPress Meta Boxes add/remove wrapper

1.0.2(9mo ago)05GPL-2.0-or-laterPHPPHP &gt;=8.0

Since Jul 14Pushed 9mo agoCompare

[ Source](https://github.com/bojaghi/meta-boxes)[ Packagist](https://packagist.org/packages/bojaghi/meta-boxes)[ Docs](https://github.com/bojaghi/meta-boxes)[ RSS](/packages/bojaghi-meta-boxes/feed)WikiDiscussions main Synced 1mo ago

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

Meta Boxes
==========

[](#meta-boxes)

워드프레스 메타 박스를 추가/제어하는 설정을 지원합니다.

설치
--

[](#설치)

`composer require bojagi/meta-boxes`

사용법
---

[](#사용법)

아래처럼 설정을 배열로 입력하거나

```
use Bojaghi\MetaBoxes\MetaBoxes;

new MetaBoxes([ /* ... setup ... */]);
```

설정을 리턴하는 파일 경로를 입력하세요.

```
new MetaBoxes('/path/to/setup/file');
```

MetaBoxes 클래스는 'do\_meta\_boxes' 액션의 콜백에서 생성하세요. 즉 아래와 비슷한 흐름으로 코드가 작성되어야 합니다.

```
add_action( 'do_meta_boxes', function () { new MetaBoxes(/* ... */ ); }, 50 );
```

설정
--

[](#설정)

설정의 배열은 아래와 같습니다.

```
[
    'add'      => [ /* 추가할 메타 박스 */ ],
    'remove'   => [ /* 제거할 메타 박스 */ ],
]
```

#### add

[](#add)

추가할 메타 박스 목록입니다. 개별 항목의 포맷은 아래와 같습니다. `add_meta_box` 함수의 인수와 동일한 형태입니다.

```
[
    'id'            => '',                       // Required
    'title'         => '',                       // Required
    'callback'      => '',                       // Required
    'screen'        => null,                     // Optional
    'context'       => static::CONTEXT_ADVANCED, // Optional
    'priority'      => static::PRIORITY_DEFAULT, // Optional
    'callback_args' => null,                     // Optional
]
```

#### remove

[](#remove)

제거할 메타 박스 목록입니다. 개별 항목의 포맷은 아래와 같습니다. `remove_meta_box` 함수의 인수와 동일한 형태입니다.

```
[
    'id'      => '',       // Required
    'screen'  => null,     // Required
    'context' => 'normal', // Required
]
```

###  Health Score

30

—

LowBetter than 64% of packages

Maintenance58

Moderate activity, may be stable

Popularity4

Limited adoption so far

Community6

Small or concentrated contributor base

Maturity43

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

Total

3

Last Release

299d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/8bbfd1d4316ffdccc98504cdbdd210c69a6add7dca21678ad402ccedb3ff4764?d=identicon)[ep6tri](/maintainers/ep6tri)

---

Top Contributors

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

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/bojaghi-meta-boxes/health.svg)

```
[![Health](https://phpackages.com/badges/bojaghi-meta-boxes/health.svg)](https://phpackages.com/packages/bojaghi-meta-boxes)
```

###  Alternatives

[shipmonk/name-collision-detector

Simple tool to find ambiguous classes or any other name duplicates within your project.

362.1M34](/packages/shipmonk-name-collision-detector)[bostondv/bootstrap-ninja-forms

Adds Bootstrap classes to Ninja Forms

222.2k](/packages/bostondv-bootstrap-ninja-forms)

PHPackages © 2026

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