PHPackages                             plugin/pdc-internal-products - 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/pdc-internal-products

ActiveWordpress-plugin

plugin/pdc-internal-products
============================

PDC Internal Products Plugin

v3.0.4(1y ago)01461[1 PRs](https://github.com/OpenWebconcept/plugin-pdc-internal-products/pulls)PHPPHP ^7.4|^8.0

Since May 24Pushed 1y ago4 watchersCompare

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

READMEChangelog (1)Dependencies (4)Versions (17)Used By (0)

README
======

[](#readme)

The Internal Products plugin splits items of the PDC into two types: internal and external.

PDC items will need to be coupled to either one of the two types in order for them to show up in the endpoint. This is to prevent accidental mixing of internal and external items.

An additional data field for Internal Data is added in the admin for all PDC items.

Rest API
--------

[](#rest-api)

This plugin chages the behaviour of the existing `owc/pdc/v1/items` endpoint in that it returns *external* items only.

All *internal* and *external* items can be accessed on the `owc/pdc/v1/items/internal` endpoint. In order to receive *internal* items only, the additional `exclude=external` parameter can be used as in `/owc/pdc/v1/items/internal?exclude=external`.

Individual *internal* items can be accessed either on the `owc/pdc/v1/items/{slug}/internal` or `owc/pdc/v1/items/{id}/internal` endpoint. This endpoint will return the content of the Internal Data field under the key `[internal-data]`.

### Authorization

[](#authorization)

In order to make a request to one of the endpoints provided by this plugin user credentials need to be passed along to REST API requests served over https:// using Basic Auth / RFC 7617.

See this wordpress [documentation](https://make.wordpress.org/core/2020/11/05/application-passwords-integration-guide/) on Application Passwords for a detailed instruction on how to set this up.

How do I get set up?
--------------------

[](#how-do-i-get-set-up)

- Unzip and/or move all files to the /wp-content/plugins/pdc-internal-products directory
- Log into WordPress admin and activate the ‘PDC Internal Products’ plugin through the ‘Plugins’ menu

Filters &amp; Actions
---------------------

[](#filters--actions)

There are various [hooks](https://codex.wordpress.org/Plugin_API/Hooks), which allows for changing the output.

### Action for changing main Plugin object

[](#action-for-changing-main-plugin-object)

```
'owc/pdc/internal-products/plugin'
```

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

[](#translations)

If you want to use your own set of labels/names/descriptions and so on you can do so. All text output in this plugin is controlled via the gettext methods.

Please use your preferred way to make your own translations from the /wp-content/plugins/pdc-internal-products/languages/pdc-internal-products.pot file

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.

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

[](#running-tests)

To run the the following commands from the root of this project

```
composer install
composer test
```

### Contribution guidelines

[](#contribution-guidelines)

#### Writing tests

[](#writing-tests)

Have a look at the code coverage reports to see where more coverage can be obtained. Write tests. Create a Pull request to the OWC repository.

#### Who do I talk to?

[](#who-do-i-talk-to)

If you have questions about or suggestions for this plugin, please contact [Holger Peters](mailto:hpeters@Buren.nl) from Gemeente Buren.

###  Health Score

41

—

FairBetter than 89% of packages

Maintenance45

Moderate activity, may be stable

Popularity15

Limited adoption so far

Community15

Small or concentrated contributor base

Maturity76

Established project with proven stability

 Bus Factor2

2 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 ~191 days

Recently: every ~350 days

Total

14

Last Release

431d ago

Major Versions

v1.2.2 → v2.0.02020-08-04

v2.0.4 → v3.0.02021-06-01

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

v3.0.3PHP ^7.4|^8.0

### Community

Maintainers

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

---

Top Contributors

[![melvinkoopmans](https://avatars.githubusercontent.com/u/7767354?v=4)](https://github.com/melvinkoopmans "melvinkoopmans (22 commits)")[![mvdhoek1](https://avatars.githubusercontent.com/u/11852816?v=4)](https://github.com/mvdhoek1 "mvdhoek1 (11 commits)")[![SimonvanWijhe](https://avatars.githubusercontent.com/u/41121933?v=4)](https://github.com/SimonvanWijhe "SimonvanWijhe (11 commits)")[![sanderdekroon](https://avatars.githubusercontent.com/u/1830845?v=4)](https://github.com/sanderdekroon "sanderdekroon (2 commits)")[![edwinsiebel](https://avatars.githubusercontent.com/u/4084596?v=4)](https://github.com/edwinsiebel "edwinsiebel (1 commits)")

###  Code Quality

TestsPHPUnit

Code StylePHP CS Fixer

### Embed Badge

![Health badge](/badges/plugin-pdc-internal-products/health.svg)

```
[![Health](https://phpackages.com/badges/plugin-pdc-internal-products/health.svg)](https://phpackages.com/packages/plugin-pdc-internal-products)
```

PHPackages © 2026

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