PHPackages                             josh-taylor/post-type-factory - 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. josh-taylor/post-type-factory

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

josh-taylor/post-type-factory
=============================

A utility to make registering a custom post type in WordPress easier.

0.1.1(8y ago)348MITPHPPHP ^7.0

Since Jun 15Pushed 8y ago1 watchersCompare

[ Source](https://github.com/josh-taylor/post-type-factory)[ Packagist](https://packagist.org/packages/josh-taylor/post-type-factory)[ RSS](/packages/josh-taylor-post-type-factory/feed)WikiDiscussions master Synced 2d ago

READMEChangelog (2)Dependencies (2)Versions (3)Used By (0)

Post Type Factory [![Build Status](https://camo.githubusercontent.com/34fb2010aa934fd10f3038247a556adc649bb077c49614c890ffac9a9539db7a/68747470733a2f2f7472617669732d63692e6f72672f6a6f73682d7461796c6f722f706f73742d747970652d666163746f72792e7376673f6272616e63683d6d6173746572)](https://travis-ci.org/josh-taylor/post-type-factory)
========================================================================================================================================================================================================================================================================================================================================

[](#post-type-factory-)

Born out of frustration from registering post types in WordPress. Easily register new post types without having to specify every option.

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

[](#installation)

You can install the package through composer.

```
composer require josh-taylor/post-type-factory
```

Usage
-----

[](#usage)

Full documentation isn't yet available, but you can check out the tests for more use cases.

In general, anything that you can pass through to the `register_post_type()` function you can pass through to the `create()` method.

```
use JoshTaylor\PostTypeFactory;

PostTypeFactory::create('testimonial')->register();
```

Development
-----------

[](#development)

Please submit pull requests for new features or bug fixes, any contributions are welcome.

License
-------

[](#license)

This package is licensed under the MIT license. See the LICENSE file for more details.

###  Health Score

24

—

LowBetter than 31% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity11

Limited adoption so far

Community7

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

Total

2

Last Release

3262d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/8e90bb8326f039d305035461e206f1d05cbc2887de66586ca9f755905b4cd660?d=identicon)[josh-taylor](/maintainers/josh-taylor)

---

Top Contributors

[![josh-taylor](https://avatars.githubusercontent.com/u/675003?v=4)](https://github.com/josh-taylor "josh-taylor (2 commits)")

---

Tags

post-typewordpresswordpress-developmentwordpress-php-librarywordpress-utilitywp

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/josh-taylor-post-type-factory/health.svg)

```
[![Health](https://phpackages.com/badges/josh-taylor-post-type-factory/health.svg)](https://phpackages.com/packages/josh-taylor-post-type-factory)
```

###  Alternatives

[psalm/plugin-laravel

Psalm plugin for Laravel

3345.1M337](/packages/psalm-plugin-laravel)[illuminate/pipeline

The Illuminate Pipeline package.

9348.3M267](/packages/illuminate-pipeline)[illuminate/pagination

The Illuminate Pagination package.

10533.5M991](/packages/illuminate-pagination)[illuminate/redis

The Illuminate Redis package.

8314.4M363](/packages/illuminate-redis)[illuminate/cookie

The Illuminate Cookie package.

224.5M132](/packages/illuminate-cookie)[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)
