PHPackages                             ralfhortt/wordpress-custom-post-type-boilerplate - 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. ralfhortt/wordpress-custom-post-type-boilerplate

ActiveWp-plugin[Utility &amp; Helpers](/categories/utility)

ralfhortt/wordpress-custom-post-type-boilerplate
================================================

A WordPress Custom Post Type Boilerplate

0.1(6y ago)1151PHP

Since Jan 10Pushed 6y ago1 watchersCompare

[ Source](https://github.com/Horttcore/WordPress-Custom-Post-Type-Boilerplate)[ Packagist](https://packagist.org/packages/ralfhortt/wordpress-custom-post-type-boilerplate)[ RSS](/packages/ralfhortt-wordpress-custom-post-type-boilerplate/feed)WikiDiscussions master Synced yesterday

READMEChangelog (1)Dependencies (6)Versions (2)Used By (0)

WordPress Custom Post Type Boilerplate
======================================

[](#wordpress-custom-post-type-boilerplate)

A WordPress Custom Post Type Boilerplate

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

[](#installation)

`composer create-project ralfhortt/wordpress-custom-post-type-boilerplate my-post-type`

Setup
-----

[](#setup)

- `npm install` or `yarn`
- Edit the plugin header in `plugin.php`
- Replace namespace `RalfHortt/WordPressCustomPostTypeBoilerplate` with your own
- Update autoloader namespace in `composer.json`
- Replace textdomain `wordpress-custom-post-type-boilerplate` with your own

Usage
-----

[](#usage)

### PHP

[](#php)

- Services: Add a custom service in `src`
- Function: Add custom function in `inc/functions.php`
- Template Tags: Add custom template tags in `inc/template-tags.php`

### Gutenberg

[](#gutenberg)

- `npm run watch` for development
- Add custom blocks in `assets/js/blocks`
- `npm run production` for published code

ToDo
----

[](#todo)

- Setup script
- Listing blocks
- View files

Changelog
---------

[](#changelog)

### 0.1 - 2020-01-09

[](#01---2020-01-09)

- Initial release

###  Health Score

22

—

LowBetter than 22% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity8

Limited adoption so far

Community8

Small or concentrated contributor base

Maturity46

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

Unknown

Total

1

Last Release

2314d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/45d54752dcf3da868ffe4a5ad2b876d6acb911fd914700b52e4d4777ff7d4a02?d=identicon)[Ralf Hortt](/maintainers/Ralf%20Hortt)

---

Top Contributors

[![Horttcore](https://avatars.githubusercontent.com/u/503252?v=4)](https://github.com/Horttcore "Horttcore (6 commits)")

### Embed Badge

![Health badge](/badges/ralfhortt-wordpress-custom-post-type-boilerplate/health.svg)

```
[![Health](https://phpackages.com/badges/ralfhortt-wordpress-custom-post-type-boilerplate/health.svg)](https://phpackages.com/packages/ralfhortt-wordpress-custom-post-type-boilerplate)
```

###  Alternatives

[sensorsdata/sa-sdk-php

PHP SDK for Sensors Analytics

32343.4k2](/packages/sensorsdata-sa-sdk-php)

PHPackages © 2026

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