PHPackages                             itsmejgrant/taxonomy-helper - 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. itsmejgrant/taxonomy-helper

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

itsmejgrant/taxonomy-helper
===========================

A tiny package to abstract away the pain of creating custom taxonomies in WordPress.

1.0.1(4y ago)2270MITPHPPHP &gt;=7.4

Since Mar 22Pushed 4y ago1 watchersCompare

[ Source](https://github.com/itsmejgrant/custom-taxonomy-helper)[ Packagist](https://packagist.org/packages/itsmejgrant/taxonomy-helper)[ RSS](/packages/itsmejgrant-taxonomy-helper/feed)WikiDiscussions main Synced 1mo ago

READMEChangelog (2)DependenciesVersions (4)Used By (0)

Custom Taxonomy Helper
======================

[](#custom-taxonomy-helper)

A super simple abstraction to make creating a custom Taxonomies in WordPress a *breeze.*

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

[](#installation)

You can either a) install with composer or b) copy the main the file and require it your functions file.

### Composer

[](#composer)

In your terminal, in the directory where your composer.json is (usually the theme directory):

`composer require itsmejgrant/custom-taxonomy-helper`

Then, in your `function.php` file:

`use Itsmejgrant\TaxonomyHelper\Taxonomy`

That's it, you're ready to go!

### Manual installation

[](#manual-installation)

Copy the contents of the `Taxonomy.php` file and put it whereever makes sense in your theme directory.

Require it whereever you will be using it with:

`require 'path/to/your/Taxonomy.php';`

Usage
-----

[](#usage)

To use the helper, assign a new instance to a variable and manipulate as required. The only required arguments are the name of the taxonomy and either a string or array of post types to assign it to.

Examples:

```
function assigning_to_one_post_type() {
  $regions = new Taxonomy('Regions', 'posts');
}
add_action('init', 'assigning_to_one_post_type');
```

```
function assigning_to_multiple_post_types() {
  $regions = new Taxonomy('Regions', ['posts', 'pages']);
}
add_action('init', 'assigning_to_multiple_post_types');
```

###  Health Score

26

—

LowBetter than 43% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity14

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity51

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

Total

3

Last Release

1499d ago

Major Versions

0.1.0 → 1.0.02022-03-22

### Community

Maintainers

![](https://www.gravatar.com/avatar/982f55fbbf74eba89e6e66efa17623c96be0339da800295c79245b41feb4d444?d=identicon)[itsmejgrant](/maintainers/itsmejgrant)

---

Top Contributors

[![itsmejgrant](https://avatars.githubusercontent.com/u/26424501?v=4)](https://github.com/itsmejgrant "itsmejgrant (5 commits)")

### Embed Badge

![Health badge](/badges/itsmejgrant-taxonomy-helper/health.svg)

```
[![Health](https://phpackages.com/badges/itsmejgrant-taxonomy-helper/health.svg)](https://phpackages.com/packages/itsmejgrant-taxonomy-helper)
```

###  Alternatives

[motomedialab/simple-laravel-audit

A simple audit helper that integrates directly with Laravel &amp; FilamentPHP

262.7k](/packages/motomedialab-simple-laravel-audit)

PHPackages © 2026

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