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

ActiveLibrary

manychois/wp-wpx
================

A utility library for overriding WordPress default HTML output easily

v0.0.3(7y ago)1381MITPHPPHP &gt;=7.0CI failing

Since Jul 17Pushed 7y ago1 watchersCompare

[ Source](https://github.com/manychois/wp-wpx)[ Packagist](https://packagist.org/packages/manychois/wp-wpx)[ RSS](/packages/manychois-wp-wpx/feed)WikiDiscussions master Synced yesterday

READMEChangelogDependencies (4)Versions (4)Used By (0)

Wpx
===

[](#wpx)

Wpx provides you a set of utility functions to help you developing WordPress themes or plugins.

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

[](#installation)

`composer require manychois/wp-wpx`

Then in your plugin file or theme functions.php, write this to start using Wpx:

```
require_once(__DIR__ . '/vendor/autoload.php');
$wpx = new \Manychois\Wpx\Utility(new \Manychois\Wpx\WpContext());
$wpx->activate();
```

Features
--------

[](#features)

- Check [UtilityInterface](https://github.com/manychois/wp-wpx/blob/master/src/UtilityInterface.php) for available methods. Some highlights:
    - `minimizeHead()`
        Remove certain WordPress default stuff in `` tag, e.g. generator tag, emoji script.
    - `registerStyle()` / `registerScript()`
        Outputting tag like `` has become possible.
    - `getMenuItem()`
        No more manipulating output from `wp_nav_menu()`. Wpx provides you hierarchy of menu data for extreme flexibility.
    - `getPostPaginationLinks()`
        Again, no more manipulation on output from `paginate_links()`.
- Bundle `\Manychois\Views\View` to help you build HTML template in parent-child structure. Reference:
- Provide `\Manychois\Wpx\TagBuilder` to simplify HTML tag construction.
- Register useful stylesheets and JavaScripts for admin pages:
    - **wpx-jquery-ui**: CSS of Jquery UI theme Smoothness.
    - **wpx-codemirror**: Latest CodeMirror core script.

To-do list
----------

[](#to-do-list)

- Increase unit test code coverage.
- Add helper styles and functions to simplify plugin admin screen development.

License
-------

[](#license)

This project is licensed under MIT License.

Author
------

[](#author)

This library is created by Siu Pang Tommy Choi.

###  Health Score

24

—

LowBetter than 32% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity10

Limited adoption so far

Community8

Small or concentrated contributor base

Maturity49

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.

###  Release Activity

Cadence

Every ~28 days

Total

3

Last Release

2800d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/e1ba7e0a3d6113e5704a03007e1d40c208af6ac5ec3a57e389ac426c661cbbb1?d=identicon)[manychois](/maintainers/manychois)

---

Top Contributors

[![manychois](https://avatars.githubusercontent.com/u/3290769?v=4)](https://github.com/manychois "manychois (47 commits)")

---

Tags

wordpresswordpress

###  Code Quality

TestsPHPUnit

### Embed Badge

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

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

###  Alternatives

[roots/wordpress

WordPress is open source software you can use to create a beautiful website, blog, or app.

19116.9M258](/packages/roots-wordpress)[aristath/kirki

Extending the WordPress customizer

1.3k73.0k4](/packages/aristath-kirki)[wpreadme2markdown/wpreadme2markdown

Convert WordPress Plugin readme.txt to Markdown

9564.6k4](/packages/wpreadme2markdown-wpreadme2markdown)[wpstarter/framework

The WpStarter Framework - Laravel Framework for WordPress

1810.1k4](/packages/wpstarter-framework)[tacowordpress/tacowordpress

WordPress custom post types that feel like CRUD models

232.2k](/packages/tacowordpress-tacowordpress)

PHPackages © 2026

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