PHPackages                             dmhendricks/wordpress-toolkit - 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. dmhendricks/wordpress-toolkit

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

dmhendricks/wordpress-toolkit
=============================

A collection of helper classes and functions for WordPress plugins and themes.

0.4.2(7y ago)147.9k61GPL-2.0-or-laterPHPPHP &gt;=5.6.4

Since Oct 2Pushed 7y ago2 watchersCompare

[ Source](https://github.com/dmhendricks/wordpress-toolkit)[ Packagist](https://packagist.org/packages/dmhendricks/wordpress-toolkit)[ Docs](https://github.com/dmhendricks/wordpress-toolkit)[ RSS](/packages/dmhendricks-wordpress-toolkit/feed)WikiDiscussions master Synced 1mo ago

READMEChangelog (10)Dependencies (1)Versions (12)Used By (1)

[![Author](https://camo.githubusercontent.com/5b29327ddb47b7140ee3c89265177fe2a3d5abf8695608daa9986dc7010b0dc2/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f617574686f722d44616e69656c2532304d2e25323048656e647269636b732d626c75652e7376673f636f6c6f72423d393930306363267374796c653d666c61742d737175617265)](https://www.danhendricks.com/?utm_source=github.com&utm_medium=campaign&utm_content=button&utm_campaign=dmhendricks%2Fwordpress-toolkit)[![Latest Release](https://camo.githubusercontent.com/d8bd47be6e97a6d61e1b72890da49cd8445fc1b7f6acb8148d51f7c5cc8711f7/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f72656c656173652f646d68656e647269636b732f776f726470726573732d746f6f6c6b69742e7376673f7374796c653d666c61742d737175617265)](https://github.com/dmhendricks/wordpress-toolkit/releases)[![GitHub License](https://camo.githubusercontent.com/3cc1b47e8e751fda4d00c440d0080905dbb635afdfec1fbbe06feab21fd8d1b2/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f6c6963656e73652d47504c76322d79656c6c6f772e7376673f7374796c653d666c61742d737175617265)](https://raw.githubusercontent.com/dmhendricks/wordpress-toolkit/master/LICENSE)[![Total Downloads](https://camo.githubusercontent.com/5b227d6a62a934ba91ed9e701ba14cdbe22d07f59e78ec8b26f90b517e5d09e9/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f646d68656e647269636b732f776f726470726573732d746f6f6c6b69742e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/dmhendricks/wordpress-toolkit)[![Donate](https://camo.githubusercontent.com/0db0977539488cee3b5c7fe4a05ea531f97c3beb456287f338a24cf5741828d6/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f446f6e6174652d50617950616c2d677265656e2e7376673f7374796c653d666c61742d737175617265)](https://paypal.me/danielhendricks)[![Flywheel](https://camo.githubusercontent.com/1fc5e904ffcab2861807ead89959920b6cd902f8debc2ea8660d55adcf9a9f14/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f7374796c652d466c79776865656c2d677265656e2e7376673f7374796c653d666c61742d737175617265266c6162656c3d676574253230686f7374656426636f6c6f72423d414532413231)](https://share.getf.ly/e25g6k?utm_source=github.com&utm_medium=campaign&utm_content=button&utm_campaign=dmhendricks%2Fwordpress-toolkit)[![Twitter](https://camo.githubusercontent.com/0cde92395bb04b6881a7f9ad5eab277891a8f112fbbcf74b094e65fc7175cb30/68747470733a2f2f696d672e736869656c64732e696f2f747769747465722f75726c2f68747470732f6769746875622e636f6d2f646d68656e647269636b732f776f726470726573732d746f6f6c6b69742e7376673f7374796c653d736f6369616c)](https://twitter.com/danielhendricks)

WordPress Tool Kit
==================

[](#wordpress-tool-kit)

A collection of classes that I use in my WordPress projects &amp; plugins.

### Contributing

[](#contributing)

If you can make the code better or recommend/contribute code that would be useful to include, [please let me know](https://github.com/dmhendricks/wordpress-toolkit/issues).

Features
--------

[](#features)

- [ConfigRegistry](https://github.com/dmhendricks/wordpress-toolkit/wiki/ConfigRegistry) class - Loads plugin/theme settings from an array or JSON file.
- [Licensing](https://github.com/dmhendricks/wordpress-toolkit/wiki/Licensing) class - Currently only support license code validation via the [Software Licensing](https://www.whmcs.com/software-licensing/?utm_source=github.com&utm_medium=referral&utm_content=link&utm_campaign=dmhendricks%2Fwordpress-toolkit) addon for WHMCS.
- [ObjectCache](https://github.com/dmhendricks/wordpress-toolkit/wiki/ObjectCache) class - A wrapper for setting/fetching values from the WordPress object cache, where available.
- [PluginTools](https://github.com/dmhendricks/wordpress-toolkit/wiki/PluginTools) class - A class for retrieving data and performing various tasks on plugins.
- [ScriptObject](https://github.com/dmhendricks/wordpress-toolkit/wiki/ScriptObject) class - Inject JavaScript variables or CSS into the page head or write/enqueue external files.

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

[](#installation)

### Requirements

[](#requirements)

- WordPress 4.7 or higher
- PHP 7.0 or higher

Compatibility tested with WordPress 5.0, multisite and PHP 7.3.

### Install with Composer

[](#install-with-composer)

```
composer require dmhendricks/wordpress-toolkit
```

Usage
-----

[](#usage)

Please see the [Documentation](https://github.com/dmhendricks/wordpress-toolkit/wiki) page.

###  Health Score

33

—

LowBetter than 75% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity33

Limited adoption so far

Community13

Small or concentrated contributor base

Maturity55

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 ~39 days

Total

11

Last Release

2762d ago

PHP version history (2 changes)0.1.0PHP &gt;=5.6

0.2.0PHP &gt;=5.6.4

### Community

Maintainers

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

---

Top Contributors

[![dmhendricks](https://avatars.githubusercontent.com/u/8184361?v=4)](https://github.com/dmhendricks "dmhendricks (86 commits)")

---

Tags

wordpresswordpress-base-pluginwordpress-php-library

### Embed Badge

![Health badge](/badges/dmhendricks-wordpress-toolkit/health.svg)

```
[![Health](https://phpackages.com/badges/dmhendricks-wordpress-toolkit/health.svg)](https://phpackages.com/packages/dmhendricks-wordpress-toolkit)
```

###  Alternatives

[roots/bedrock

WordPress boilerplate with Composer, easier configuration, and an improved folder structure

6.5k441.8k2](/packages/roots-bedrock)[akaunting/laravel-money

Currency formatting and conversion package for Laravel

7825.3M18](/packages/akaunting-laravel-money)[cognesy/instructor-php

The complete AI toolkit for PHP: unified LLM API, structured outputs, agents, and coding agent control

310107.9k1](/packages/cognesy-instructor-php)[blair2004/nexopos

The Free Modern Point Of Sale System build with Laravel, TailwindCSS and Vue.js.

1.2k2.3k](/packages/blair2004-nexopos)[lullabot/drainpipe

An automated build tool to allow projects to have a set standardized operations scripts.

41716.4k2](/packages/lullabot-drainpipe)[aedart/athenaeum

Athenaeum is a mono repository; a collection of various PHP packages

245.2k](/packages/aedart-athenaeum)

PHPackages © 2026

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