PHPackages                             pronamic/wp-file-header - 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. [DevOps &amp; Deployment](/categories/devops)
4. /
5. pronamic/wp-file-header

AbandonedArchivedLibrary[DevOps &amp; Deployment](/categories/devops)

pronamic/wp-file-header
=======================

A library that makes the management of WordPress file headers easier.

4391PHP

Since Sep 28Pushed 3y ago2 watchersCompare

[ Source](https://github.com/pronamic/wp-file-header)[ Packagist](https://packagist.org/packages/pronamic/wp-file-header)[ RSS](/packages/pronamic-wp-file-header/feed)WikiDiscussions main Synced 1mo ago

READMEChangelogDependenciesVersions (1)Used By (0)

Pronamic WordPress File Header
==============================

[](#pronamic-wordpress-file-header)

 Many WordPress plugins contain bash scripts with `sed` and `awk` commands to update WordPress file headers. Because `sed` and `awk` commands are difficult to read and can be error prone we have developed this library. This library makes it easy to read and/or edit WordPress file headers in for example `plugin.php`, `style.css` or `readme.txt`.

Table of contents
-----------------

[](#table-of-contents)

- [Getting Started](#getting-started)
- [Command Line Usage](#command-line-usage)
    - [Examples](#examples)
- [Alternatives](#alternatives)
- [Links](#links)

Getting Started
---------------

[](#getting-started)

### Installation

[](#installation)

To start documenting your WordPress filters and actions, require Pronamic WordPress Documentor in Composer:

```
composer require pronamic/wp-file-header --dev

```

Command Line Usage
------------------

[](#command-line-usage)

### Examples

[](#examples)

```
vendor/bin/pronamic-wp-file-header get Version plugin.php

```

```
vendor/bin/pronamic-wp-file-header get 'Stable tag' readme.txt

```

```
vendor/bin/pronamic-wp-file-header get Version style.css

```

```
vendor/bin/pronamic-wp-file-header set Version 1.0.0 plugin.php

```

```
vendor/bin/pronamic-wp-file-header set 'Stable tag' 4.3 readme.txt

```

```
vendor/bin/pronamic-wp-file-header set Version 1.3 style.css

```

Alternatives
------------

[](#alternatives)

Here is a list of alternatives that we found. However, none of these satisfied our requirements.

*If you know other similar projects, feel free to edit this section!*

- [wp-file-header-metadata](https://github.com/ahmadawais/wp-file-header-metadata) by [Ahmad Awais](https://github.com/ahmadawais)

Links
-----

[](#links)

- [https://codex.wordpress.org/File\_Header](https://codex.wordpress.org/File_Header)
- [https://codex.wordpress.org/File\_Header\_API](https://codex.wordpress.org/File_Header_API)
-
-
-
-
- [https://developer.wordpress.org/reference/functions/get\_plugin\_data/](https://developer.wordpress.org/reference/functions/get_plugin_data/)
- [https://developer.wordpress.org/reference/functions/get\_file\_data/](https://developer.wordpress.org/reference/functions/get_file_data/)
-

###  Health Score

17

—

LowBetter than 6% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity12

Limited adoption so far

Community9

Small or concentrated contributor base

Maturity24

Early-stage or recently created project

 Bus Factor1

Top contributor holds 100% of commits — single point of failure

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.

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/869674?v=4)[Remco Tolsma](/maintainers/remcotolsma)[@remcotolsma](https://github.com/remcotolsma)

---

Top Contributors

[![remcotolsma](https://avatars.githubusercontent.com/u/869674?v=4)](https://github.com/remcotolsma "remcotolsma (17 commits)")

---

Tags

deploydeploymentfile-headerfile-headerspronamicreadmewordpresswordpress-deploymentwordpress-developmentwordpress-pluginwordpress-themewp-cli

### Embed Badge

![Health badge](/badges/pronamic-wp-file-header/health.svg)

```
[![Health](https://phpackages.com/badges/pronamic-wp-file-header/health.svg)](https://phpackages.com/packages/pronamic-wp-file-header)
```

###  Alternatives

[deployer/deployer

Deployment Tool

11.0k25.4M207](/packages/deployer-deployer)[appwrite/server-ce

End to end backend server for frontend and mobile apps.

55.3k84.2k](/packages/appwrite-server-ce)[pragmarx/health

Laravel Server &amp; App Health Monitor and Notifier

2.0k1.0M2](/packages/pragmarx-health)[felixfbecker/language-server-protocol

PHP classes for the Language Server Protocol

22476.7M6](/packages/felixfbecker-language-server-protocol)[heroku/heroku-buildpack-php

Toolkit for starting a PHP application locally, with or without foreman, using the same config for PHP and Apache2/Nginx as on Heroku

8161.3M10](/packages/heroku-heroku-buildpack-php)[tiamo/phpas2

PHPAS2 is a php-based implementation of the EDIINT AS2 standard

4674.7k](/packages/tiamo-phpas2)

PHPackages © 2026

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