PHPackages                             fairpm/did-manager-wordpress - 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. fairpm/did-manager-wordpress

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

fairpm/did-manager-wordpress
============================

WordPress integration layer for FAIR DID management and metadata generation

0.0.1(1mo ago)00GPL-3.0-or-laterPHPPHP &gt;=8.3

Since Mar 13Pushed 1mo agoCompare

[ Source](https://github.com/fairpm/did-manager-wordpress)[ Packagist](https://packagist.org/packages/fairpm/did-manager-wordpress)[ RSS](/packages/fairpm-did-manager-wordpress/feed)WikiDiscussions main Synced 1mo ago

READMEChangelog (2)Dependencies (5)Versions (2)Used By (0)

FAIR DID Manager WordPress
==========================

[](#fair-did-manager-wordpress)

`fairpm/did-manager-wordpress` contains the WordPress-specific layer that was extracted from the core `fairpm/did-manager` package. It provides WordPress header parsing, `readme.txt` parsing, FAIR metadata generation, and a small adapter around the core DID manager for package-aware workflows.

Features
--------

[](#features)

- Parse WordPress plugin headers and discover the main plugin file
- Parse WordPress.org-style `readme.txt` files outside of a WordPress runtime
- Generate FAIR metadata arrays and `metadata.json` files for plugins and themes
- Detect whether a package path is a plugin or theme
- Inject `Plugin ID` or `Theme ID` values after a DID is created
- Compose the core `FAIR\\DID\\DIDManager` instead of duplicating DID logic

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

[](#installation)

```
composer require fairpm/did-manager-wordpress
```

For repository development:

```
git clone https://github.com/fairpm/did-manager-wordpress.git
cd did-manager-wordpress
composer install
```

Usage
-----

[](#usage)

```
