PHPackages                             wpx/scripts - 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. wpx/scripts

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

wpx/scripts
===========

A set of scripts to help make using/managing a WordPress instance easier.

0.0.0-alpha.6(6y ago)117MITPHPPHP ^5.6.20 || ^7CI failing

Since Nov 30Pushed 6y ago1 watchersCompare

[ Source](https://github.com/dhurlburtusa/wpx-scripts)[ Packagist](https://packagist.org/packages/wpx/scripts)[ RSS](/packages/wpx-scripts/feed)WikiDiscussions master Synced 1w ago

READMEChangelogDependencies (1)Versions (3)Used By (0)

WPX Scripts
===========

[](#wpx-scripts)

A set of scripts to help make using/managing a WordPress instance easier.

Warning
-------

[](#warning)

WPX Scripts is in alpha version. Breaking changes are possible and likely.

More thorough documentation will begin in the alpha version when the shape of this project is closer to being finalized. Please stay tuned as more improvements are made. Make a PR if you want to contribute.

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

[](#installation)

This package is installed like any other Composer package.

```
composer require --dev wpx/scripts
```

Usage
-----

[](#usage)

**Composer Callbacks**

Composer fires various named events during its execution process. Callbacks to these events can be set up in the root `composer.json` file. This is done by using specific script names under the `"scripts"` key.

See  for details.

The following snippet demonstrates how to add a `post-install-cmd` and a `post-update-cmd` callback using the single-string method and the array method. Because `composer.json` is in the JSON format, backslashes must be escaped.

```
{
	"extra": {
		"wordpress-install-dir": "wp",
		"wpx-skeleton-dir": "skel",
		"wpx-skeleton-destination-dir": null,
	},
	"scripts": {
		"post-install-cmd": "Wpx\\Scripts\\v0\\ComposerCallbacks::onPostInstall",
		"post-update-cmd": [
			"Wpx\\Scripts\\v0\\ComposerCallbacks::onPostUpdate"
		]
  }
}

```

###  Health Score

20

—

LowBetter than 14% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity7

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity39

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.

###  Release Activity

Cadence

Unknown

Total

1

Last Release

2361d ago

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/4006431?v=4)[Danny Hurlburt](/maintainers/dhurlburtusa)[@dhurlburtusa](https://github.com/dhurlburtusa)

---

Top Contributors

[![dhurlburtusa](https://avatars.githubusercontent.com/u/4006431?v=4)](https://github.com/dhurlburtusa "dhurlburtusa (26 commits)")

---

Tags

scriptswordpresswordpresslibraryscripts

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/wpx-scripts/health.svg)

```
[![Health](https://phpackages.com/badges/wpx-scripts/health.svg)](https://phpackages.com/packages/wpx-scripts)
```

###  Alternatives

[tgmpa/tgm-plugin-activation

TGM Plugin Activation is a PHP library that allows you to easily require or recommend plugins for your WordPress themes (and plugins).

1.8k222.5k13](/packages/tgmpa-tgm-plugin-activation)

PHPackages © 2026

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