Download the PHP package wordpressvn/wp-meta-box without Composer

On this page you can find all versions of the php package wordpressvn/wp-meta-box. 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 wp-meta-box

WP Meta Box

This package aims to make it easier to create meta boxes for WordPress plugins.

⚠️ Untill the first stable release, the API is subject to change. Use at your own risk.

Installation

Usage

Basic example

Available types

Text

Date

Number

Textarea

Checkbox

Choices (radio buttons)

Color

Select

You can allow multiple values too.

Select2

Select2 gives you a customizable select box with support for searching.

You can use select2 the same way you use the regular select.

If you would like to search the options through ajax, you can do this by defining two callbacks (or function names). One for fetching and filtering the options and one for getting the value callback.

The below example is using select2 to select a page.

You may allow multiple values by settings the multiple value in config to true. If you want to use the ajax functionality here, be sure to define value callback here as well.

You can pass anything you'd like to the select2 configuration using config, the exception being the ajax part of the configuration.

A list of options can be found here.

The Select2 that comes with the package is loaded from the Cloudflare CDN. You can overwrite this using the wmb_select2_assets filter hook.

Media

Image

Code editor

WP Editor

You can provide a config array to customize the editor. For more information on this config check out the wp.editor documentation.

Repeater

Example of a gallery using the repeater option:

Contributors

License

MIT. Please see the License File for more information.


All versions of wp-meta-box with dependencies

PHP Build Version
Package Version
Requires php Version ^7.4|^8.0
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 wordpressvn/wp-meta-box contains the following files

Loading the files please wait ....