PHPackages                             plugin/openpub-base - 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. plugin/openpub-base

ActiveWordpress-plugin

plugin/openpub-base
===================

OpenPub base plugin

v3.8.3(2mo ago)11.7k↓35.5%4[6 PRs](https://github.com/OpenWebconcept/plugin-openpub-base/pulls)1PHPPHP &gt;=7.4

Since Jun 28Pushed 2mo ago4 watchersCompare

[ Source](https://github.com/OpenWebconcept/plugin-openpub-base)[ Packagist](https://packagist.org/packages/plugin/openpub-base)[ RSS](/packages/plugin-openpub-base/feed)WikiDiscussions master Synced 1mo ago

READMEChangelog (10)Dependencies (22)Versions (124)Used By (1)

Plugin OpenPub Base
===================

[](#plugin-openpub-base)

This README documents whatever steps are necessary to get this plugin up and running.

‼️ Please take notice ‼️
------------------------

[](#bangbang-please-take-notice-bangbang)

Since version 3.0.0 CMB2 is used instead of the metabox.io plugin. Projects that have used earlier versions need to execute two commands from their terminal. If these commands are not executed there is a potential loss of data inside the meta table for all connected openpub-items.

### Command 1: wp convert:highlighted

[](#command-1-wp-converthighlighted)

When using the metabox.io plugin the value of meta field '\_owc\_openpub\_highlighted\_item' was '0' or '1'. CMB2 saves this value as 'on' or does not save a value at all when the checkbox is unchecked.

### Command 2: wp convert:expiration-date

[](#command-2-wp-convertexpiration-date)

When using the metabox.io plugin the value of meta field '\_owc\_openpub\_expirationdate' was a date + time (2023-02-20 00:00). CMB2 saves this value as a timestamp

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

[](#installation)

### For users

[](#for-users)

1. Download the latest release from [the releases page](https://github.com/OpenWebconcept/plugin-openpub-base/releases)
2. Unzip and move all files to the `/wp-content/plugins/openpub-base` directory.
3. Log into the WordPress admin and activate the 'Yard | OpenPub Base' plugin through the 'plugins' menu
4. Go to the 'OpenPub instellingen' pagina in the left-hand menu to enter some of the required settings

### For developers

[](#for-developers)

To contribute to this project, no dependencies are required. However, you will need to download [Composer](https://getcomposer.org/) to run tests or create an optimized build of the plugin.

1. Clone this repository to your machine and/or WordPress installation
2. Optionally use Composer (`composer install`) to install the dev dependencies

To create an optimized and zipped build, run the `composer run package` command. This requires `Composer`, `rsync` and `zip` to run.

Hooks
-----

[](#hooks)

See [Hooks](/docs/hooks.md)

REST API
--------

[](#rest-api)

See [REST API](/docs/restapi.md)

Running tests
-------------

[](#running-tests)

To run the Unit tests go to a command-line.

```
# 1. go into the plugin directory
cd

# 2. install the composer deps
composer install

# 3. run the tests
phpunit
```

You can run code coverage reports with the command below:

```
phpunit --coverage-html ./tests/coverage
```

Shared environments
-------------------

[](#shared-environments)

If the OpenPub environment is shared by multiple websites and it is required to configure the websites where an openpub-item should be displayed on, follow the steps below:

### Step 1

[](#step-1)

Go to the 'OpenPub instellingen pagina' in the left-hand menu and look for the setting 'Show on'. Check the checkbox. When this setting is enabled this plugin creates a taxonomy 'Show on'.

### Step 2

[](#step-2)

Add terms to the taxonomy so the terms can be used in the editor of an openpub-item.

### Step 3

[](#step-3)

This plugin adds a select element to the editor of an openpub-item. Look for the select beneath the heading 'External' and select the websites you want this item to be displayed on.

The selected websites are now able to make requests to the items endpoint and only retrieve openpub-items which are intended for the selected website. Example url: [https://url/wp-json/owc/openpub/v1/items?source={blog\_slug}](https://url/wp-json/owc/openpub/v1/items?source=%7Bblog_slug%7D)

Translations
------------

[](#translations)

All of the descriptions, labels and names inside this plugin can be translated since they are controlled by gettext methods. You can find the .pot file at in the languages directory.

> Be careful not to put the translation files in a location which can be overwritten by a subsequent update of the plugin, theme or WordPress core.

Use your own preferred way of translating .pot files, however if this is your first time doing translations within WordPress, we recommend you use the [Loco Translate plugin](https://wordpress.org/plugins/loco-translate/) which is a great tool for translating WordPress plugins.

Contributing
------------

[](#contributing)

You're welcome to contribute or suggest improvements to this plugin. When you submit a pull request, please make sure all the tests pass.

Want to contribute but have no idea what to begin with? Take a look at the coverage reports to see where more coverage can be obtained.

Questions
---------

[](#questions)

You can ask technical questions at the [GitHub issues](https://github.com/OpenWebconcept/plugin-openpub-base/issues) page. For general questions about the Open Webconcept we ask you get in touch with us via the [Open Webconcept website](https://openwebconcept.nl/contact/).

###  Health Score

57

—

FairBetter than 98% of packages

Maintenance88

Actively maintained with recent releases

Popularity24

Limited adoption so far

Community24

Small or concentrated contributor base

Maturity80

Battle-tested with a long release history

 Bus Factor3

3 contributors hold 50%+ of commits

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

Recently: every ~16 days

Total

98

Last Release

61d ago

Major Versions

v2.3.8 → v3.1.22023-07-17

v2.3.9 → 3.2.02023-08-01

v2.3.10 → v3.4.12023-11-07

v2.3.11 → v3.5.02024-10-23

v2.3.12 → v3.8.12026-03-17

PHP version history (4 changes)v1.0.0PHP &gt;=7.0

v2.2.0PHP ^7.0|^8.0

2.3.0PHP ^7.4|^8.0

v3.8.2PHP &gt;=7.4

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/62775?v=4)[Anton Zhuravsky](/maintainers/Yard)[@yard](https://github.com/yard)

---

Top Contributors

[![SimonvanWijhe](https://avatars.githubusercontent.com/u/41121933?v=4)](https://github.com/SimonvanWijhe "SimonvanWijhe (27 commits)")[![edwinsiebel](https://avatars.githubusercontent.com/u/4084596?v=4)](https://github.com/edwinsiebel "edwinsiebel (18 commits)")[![mvdhoek1](https://avatars.githubusercontent.com/u/11852816?v=4)](https://github.com/mvdhoek1 "mvdhoek1 (17 commits)")[![sanderdekroon](https://avatars.githubusercontent.com/u/1830845?v=4)](https://github.com/sanderdekroon "sanderdekroon (12 commits)")[![robertbossaert](https://avatars.githubusercontent.com/u/4972135?v=4)](https://github.com/robertbossaert "robertbossaert (7 commits)")[![hnccox](https://avatars.githubusercontent.com/u/89316701?v=4)](https://github.com/hnccox "hnccox (6 commits)")[![Rovasch](https://avatars.githubusercontent.com/u/166744617?v=4)](https://github.com/Rovasch "Rovasch (5 commits)")[![richardkorthuis](https://avatars.githubusercontent.com/u/73702842?v=4)](https://github.com/richardkorthuis "richardkorthuis (3 commits)")[![eyalacato](https://avatars.githubusercontent.com/u/156068891?v=4)](https://github.com/eyalacato "eyalacato (3 commits)")[![YvetteNikolov](https://avatars.githubusercontent.com/u/48315669?v=4)](https://github.com/YvetteNikolov "YvetteNikolov (3 commits)")[![projmunoz](https://avatars.githubusercontent.com/u/149622027?v=4)](https://github.com/projmunoz "projmunoz (2 commits)")[![dtakken](https://avatars.githubusercontent.com/u/2066447?v=4)](https://github.com/dtakken "dtakken (2 commits)")[![JasperHeidebrink](https://avatars.githubusercontent.com/u/1487913?v=4)](https://github.com/JasperHeidebrink "JasperHeidebrink (2 commits)")[![rmpel](https://avatars.githubusercontent.com/u/1086776?v=4)](https://github.com/rmpel "rmpel (1 commits)")[![coenjacobs](https://avatars.githubusercontent.com/u/245703?v=4)](https://github.com/coenjacobs "coenjacobs (1 commits)")[![ictbeheer](https://avatars.githubusercontent.com/u/14947039?v=4)](https://github.com/ictbeheer "ictbeheer (1 commits)")

---

Tags

pluginwordpress

###  Code Quality

TestsPHPUnit

Static AnalysisPHPStan

Code StylePHP CS Fixer

Type Coverage Yes

### Embed Badge

![Health badge](/badges/plugin-openpub-base/health.svg)

```
[![Health](https://phpackages.com/badges/plugin-openpub-base/health.svg)](https://phpackages.com/packages/plugin-openpub-base)
```

###  Alternatives

[pressbooks/pressbooks

Pressbooks is an open source book publishing tool built on a WordPress multisite platform. Pressbooks outputs books in multiple formats, including PDF, EPUB, web, and a variety of XML flavours, using a theming/templating system, driven by CSS.

44643.1k1](/packages/pressbooks-pressbooks)[log1x/poet

Configuration-based post type, taxonomy, editor color palette, block category, and block registration for Sage 10.

218280.1k1](/packages/log1x-poet)[10up/10up-experience

The 10up Experience plugin configures WordPress to better protect and inform clients, aligned to 10up's best practices

139477.6k](/packages/10up-10up-experience)[harness-software/wp-graphql-gravity-forms

Adds WPGraphQL support for Gravity Forms

17179.3k](/packages/harness-software-wp-graphql-gravity-forms)[altis/aws-analytics

AWS Pinpoint Analytics integration for WordPress

19144.1k4](/packages/altis-aws-analytics)[davidanderson684/simba-plugin-manager-updater

This class is an updates checker and UI for WordPress plugins that are hosted using the Simba Plugin Manager plugin

2652.7k](/packages/davidanderson684-simba-plugin-manager-updater)

PHPackages © 2026

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