Download the PHP package pollora/metabox without Composer

On this page you can find all versions of the php package pollora/metabox. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.

FAQ

After the download, you have to make one include require_once('vendor/autoload.php');. After that you have to import the classes with use statements.

Example:
If you use only one package a project is not needed. But if you use more then one package, without a project it is not possible to import the classes with use statements.

In general, it is recommended to use always a project to download your libraries. In an application normally there is more than one library needed.
Some PHP packages are not free to download and because of that hosted in private repositories. In this case some credentials are needed to access such packages. Please use the auth.json textarea to insert credentials, if a package is coming from a private repository. You can look here for more information.

  • Some hosting areas are not accessible by a terminal or SSH. Then it is not possible to use Composer.
  • To use Composer is sometimes complicated. Especially for beginners.
  • Composer needs much resources. Sometimes they are not available on a simple webspace.
  • If you are using private repositories you don't need to share your credentials. You can set up everything on our site and then you provide a simple download link to your team member.
  • Simplify your Composer build process. Use our own command line tool to download the vendor folder as binary. This makes your build process faster and you don't need to expose your credentials for private repositories.
Please rate this library. Is it a good library?

Informations about the package metabox

Metabox: Meta Box fields, blocks and settings pages in a fluent API

Latest version Total downloads Tests

Metabox declares Meta Box meta boxes, custom fields, Gutenberg blocks and settings pages with chained, type-hinted methods instead of the nested arrays passed to the rwmb_meta_boxes filter. Each field type is a class, each setting a method, enumerated values are checked when they are set, and the configuration is registered with Meta Box for you. It is for WordPress developers who use Meta Box and are tired of looking up array keys.

Part of Pollora, the Laravel framework for WordPress. It works in any WordPress project that uses Composer, with or without Pollora.

Installation

Requires PHP 8.2+, WordPress and the Meta Box plugin. Some features need a Meta Box extension: MB Blocks for blocks, MB Settings Page for settings pages, Meta Box Group for groups and Meta Box Tabs for tabs. They are all included in Meta Box AIO.

Coming from amphibee/metabox-maker? Read the upgrade guide.

Quick start

A field group with two fields in the sidebar of the page editor:

A Gutenberg block with a repeatable group of links:

A settings page, and a field group displayed on it:

Declare them when Meta Box reads its configuration, for instance in a theme's functions.php or on the init hook. Values are read with Meta Box's own functions, such as rwmb_meta( 'venue' ).

Why Metabox

Compared with the arrays passed to the rwmb_meta_boxes filter:

With Metabox

The equivalent Meta Box array

Features

Documentation

For every setting, the reference is the Meta Box documentation.

Testing

This runs the Pest tests, PHPStan and Pint. The tests check the configuration arrays generated for Meta Box, with the WordPress hook functions stubbed in tests/Pest.php.

Contributing

Contributions are welcome: see the contributing guide. Report security issues privately, as described in the security policy.

License

Metabox is open-source software licensed under the RuBee group


All versions of metabox with dependencies

PHP Build Version
Package Version
Requires php Version ^8.2
Composer command for our command line client (download client) This client runs in each environment. You don't need a specific PHP version etc. The first 20 API calls are free. Standard composer command

The package pollora/metabox contains the following files

Loading the files please wait ...