PHPackages                             amphibee/metabox-maker - 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. amphibee/metabox-maker

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

amphibee/metabox-maker
======================

Create MetaBox fields in a fluent way.

22.0k↓40%2[2 issues](https://github.com/AmphiBee/MetaboxMaker/issues)[1 PRs](https://github.com/AmphiBee/MetaboxMaker/pulls)PHP

Since Dec 15Pushed 5mo ago2 watchersCompare

[ Source](https://github.com/AmphiBee/MetaboxMaker)[ Packagist](https://packagist.org/packages/amphibee/metabox-maker)[ RSS](/packages/amphibee-metabox-maker/feed)WikiDiscussions main Synced 1mo ago

READMEChangelogDependenciesVersions (2)Used By (0)

MetaboxMaker
============

[](#metaboxmaker)

MetaboxMaker is a powerful and flexible WordPress package designed to simplify the creation and management of custom metaboxes and fields. It provides developers with an object-oriented interface to generate various types of fields quickly and integrate them seamlessly into WordPress themes or plugins.

Features
--------

[](#features)

- **Object-Oriented Approach**: Leverages modern PHP practices to offer a clean and maintainable codebase.
- **Extensible Field Types**: Includes a variety of field types such as text, number, file, image, video, and more.
- **Customizable Options**: Each field type comes with configurable settings to suit different requirements.
- **Easy Integration**: Easily integrates with existing WordPress setups, enhancing custom content types with minimal effort.
- **Advanced Field Configurations**: Supports advanced features like force deletion, custom upload directories, and unique filename callbacks.

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

[](#installation)

To install MetaboxMaker, you can install the composer package into your WordPress plugin or theme directory.

```
composer require amphibee/metabox-maker
```

Usage
-----

[](#usage)

### Basic Usage

[](#basic-usage)

Here is a quick example of how to create a custom metabox with text and number fields:

```
