PHPackages                             wenprise/content-types - 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. wenprise/content-types

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

wenprise/content-types
======================

Create WordPress content types and taxonomies more easier.

v3.0.1(1y ago)0491[1 PRs](https://github.com/iwillhappy1314/wenprise-content-types/pulls)MITPHPPHP &gt;=5.6

Since Dec 30Pushed 9mo ago1 watchersCompare

[ Source](https://github.com/iwillhappy1314/wenprise-content-types)[ Packagist](https://packagist.org/packages/wenprise/content-types)[ RSS](/packages/wenprise-content-types/feed)WikiDiscussions master Synced today

READMEChangelog (10)Dependencies (2)Versions (27)Used By (0)

Wenprise Content Types
======================

[](#wenprise-content-types)

Create WordPress content types and taxonomies easier.

Register Post type
------------------

[](#register-post-type)

```
 \WenpriseContentTypes\ContentType::register( "work", "Works", [ 'title', 'editor', 'thumbnail'], true, false, 'dashicons-art' );
```

### Params

[](#params)

```
 @param string  $name         Post type name in the menu and page title
 @param array|boolean   $support      The functions post type support
 @param boolean $is_publish   Is publish in frontend
 @param boolean $hierarchical is hierarchical
 @param string  $icon         the dashicon of the dashboard menu

```

### Filters

[](#filters)

- wprs\_type\_labels\_$slug: modify the post type labels
- wprs\_type\_args\_$slug: modify the args to register the post type

Register Taxonomy
-----------------

[](#register-taxonomy)

```
\WenpriseContentTypes\Taxonomy::register( "work_type", 'work', "Work Type", true );
```

### Params

[](#params-1)

```
@param string       $tax_slug     Taxonomy slug
@param string|array $post_type    the post type of the taxonomy registered to
@param string       $tax_name     Taxonomy name
@param boolean      $hierarchical is hierarchical

```

### Filters

[](#filters-1)

- wprs\_type\_labels\_$slug: modify the post type labels
- wprs\_type\_args\_$slug: modify the args to register the post type
- wprs\_tax\_types\_$slug: Modify the post types taxonomy registered to

###  Health Score

37

—

LowBetter than 81% of packages

Maintenance48

Moderate activity, may be stable

Popularity12

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity68

Established project with proven stability

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

Recently: every ~216 days

Total

25

Last Release

543d ago

Major Versions

v0.2-beta → 1.02018-01-22

1.0.10 → 2.0.02020-12-25

2.0.8 → 3.0.02023-11-15

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/1455683?v=4)[Amos Lee](/maintainers/iwillhappy1314)[@iwillhappy1314](https://github.com/iwillhappy1314)

---

Top Contributors

[![iwillhappy1314](https://avatars.githubusercontent.com/u/1455683?v=4)](https://github.com/iwillhappy1314 "iwillhappy1314 (41 commits)")

### Embed Badge

![Health badge](/badges/wenprise-content-types/health.svg)

```
[![Health](https://phpackages.com/badges/wenprise-content-types/health.svg)](https://phpackages.com/packages/wenprise-content-types)
```

###  Alternatives

[laravel/framework

The Laravel Framework.

34.8k532.1M19.4k](/packages/laravel-framework)[illuminate/support

The Illuminate Support package.

582110.9M40.0k](/packages/illuminate-support)[symfony/maker-bundle

Symfony Maker helps you create empty commands, controllers, form classes, tests and more so you can forget about writing boilerplate code.

3.4k116.2M674](/packages/symfony-maker-bundle)[api-platform/core

Build a fully-featured hypermedia or GraphQL API in minutes!

2.6k50.1M314](/packages/api-platform-core)[tempest/framework

The PHP framework that gets out of your way.

2.2k31.1k12](/packages/tempest-framework)[stoutlogic/acf-builder

An Advanced Custom Field Configuration Builder

8361.9M64](/packages/stoutlogic-acf-builder)

PHPackages © 2026

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