PHPackages                             ethanclevenger91/wordpress-composer-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. ethanclevenger91/wordpress-composer-scripts

AbandonedArchivedLibrary

ethanclevenger91/wordpress-composer-scripts
===========================================

Scripts for use with Wordpress managed via Composer

066[3 issues](https://github.com/ethanclevenger91/WordpressComposerScripts/issues)PHP

Since Sep 7Pushed 9y ago1 watchersCompare

[ Source](https://github.com/ethanclevenger91/WordpressComposerScripts)[ Packagist](https://packagist.org/packages/ethanclevenger91/wordpress-composer-scripts)[ RSS](/packages/ethanclevenger91-wordpress-composer-scripts/feed)WikiDiscussions master Synced 2mo ago

READMEChangelogDependenciesVersions (1)Used By (0)

WordpressComposerScripts
========================

[](#wordpresscomposerscripts)

Helpful scripts for use with Wordpress managed via Composer

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

[](#installation)

`composer require ethanclevenger91/wordpress-composer-scripts`.

Or manually add it to your `composer.json` file.

Usage
-----

[](#usage)

This package provides several [scripts](https://getcomposer.org/doc/articles/scripts.md) designed to do useful things/provide useful information when managing your WordPress installation via [composer](https://getcomposer.org).

To use, assign functions to composer events, like so:

```
"scripts": {
  "pre-update-cmd": "WordpressComposerScripts\\Updates::preUpdateCommand",
  "post-update-cmd":"WordpressComposerScripts\\Updates::postUpdateCommand"
}

```

Available Scripts
-----------------

[](#available-scripts)

The table below provides information as to what scripts are available, what they do, and what composer event they should be attached to. All classes are under the namespace `WordpressComposerScripts`.

FunctionComposer EventDescription`Updates::preUpdateCommand``pre-update-cmd`Write plugin information to temp file before updating. To be used with `Updates::postUpdateCommand``Updates::preUpdateCommand``post-update-cmd`Compare plugin information post-update with plugin information pre-update and print a table with the results. To be used with `Updates::preUpdateCommand`

###  Health Score

21

—

LowBetter than 19% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity8

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity41

Maturing project, gaining track record

 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://www.gravatar.com/avatar/bf7cc4b3323240425d99fb523034cf92288de95280df4afe82fba9b0d837eea1?d=identicon)[ethanclevenger91](/maintainers/ethanclevenger91)

---

Top Contributors

[![ethanclevenger91](https://avatars.githubusercontent.com/u/2623646?v=4)](https://github.com/ethanclevenger91 "ethanclevenger91 (1 commits)")

### Embed Badge

![Health badge](/badges/ethanclevenger91-wordpress-composer-scripts/health.svg)

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

PHPackages © 2026

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