PHPackages                             afragen/simple-cpt - 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. afragen/simple-cpt

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

afragen/simple-cpt
==================

Register a simple Custom Post Type and Taxonomies.

17PHP

Since Jan 6Pushed 3y ago1 watchersCompare

[ Source](https://github.com/afragen/simple-cpt)[ Packagist](https://packagist.org/packages/afragen/simple-cpt)[ RSS](/packages/afragen-simple-cpt/feed)WikiDiscussions master Synced today

READMEChangelogDependenciesVersions (1)Used By (0)

Simple CPT
==========

[](#simple-cpt)

- Contributors: [Andy Fragen](https://github.com/afragen)
- License: MIT
- Requires at least: 5.0
- Requires PHP: 7.0

A simple framework for registering custom post types and their taxonomies.

Description
-----------

[](#description)

This framework registers a custom post type and several associated taxonomies.

Inject 2 arrays to `Bootstrap`.

```
$cpt = [ singular, plural, icon ];
$tax = [ [ single-1, plural-1 ], [ single-2, plural-2 ], [ ..., ... ] ];
```

It is not i18n compliant.

###  Health Score

15

—

LowBetter than 3% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity6

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity24

Early-stage or recently created project

 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.

### Community

Maintainers

![](https://www.gravatar.com/avatar/82779a185fccde41e1dd3b914bde84cd6be76c8dcb8f6b983f461c8f5687a87e?d=identicon)[afragen](/maintainers/afragen)

---

Top Contributors

[![afragen](https://avatars.githubusercontent.com/u/1296790?v=4)](https://github.com/afragen "afragen (7 commits)")

### Embed Badge

![Health badge](/badges/afragen-simple-cpt/health.svg)

```
[![Health](https://phpackages.com/badges/afragen-simple-cpt/health.svg)](https://phpackages.com/packages/afragen-simple-cpt)
```

###  Alternatives

[league/mime-type-detection

Mime-type detection for Flysystem

1.3k517.5M168](/packages/league-mime-type-detection)[spatie/better-types

Improved abstraction for dealing with union and named types.

823.8M3](/packages/spatie-better-types)[oxid-esales/geo-blocking-module

The module enables OXID eShop to be compliant with the EU geo-blocking regulations.

194.4k](/packages/oxid-esales-geo-blocking-module)

PHPackages © 2026

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