PHPackages                             rooftopcms/rooftop-content-hierarchy - 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. [API Development](/categories/api)
4. /
5. rooftopcms/rooftop-content-hierarchy

AbandonedArchivedWordpress-muplugin[API Development](/categories/api)

rooftopcms/rooftop-content-hierarchy
====================================

Include the content hierarchy for a given post in its JSON response

1.2.1(8y ago)23971[1 issues](https://github.com/rooftopcms/rooftop-content-hierarchy/issues)[1 PRs](https://github.com/rooftopcms/rooftop-content-hierarchy/pulls)GPL-3.0PHP

Since Aug 3Pushed 8y ago2 watchersCompare

[ Source](https://github.com/rooftopcms/rooftop-content-hierarchy)[ Packagist](https://packagist.org/packages/rooftopcms/rooftop-content-hierarchy)[ RSS](/packages/rooftopcms-rooftop-content-hierarchy/feed)WikiDiscussions development Synced 1mo ago

READMEChangelogDependenciesVersions (8)Used By (0)

```
=== Rooftop Content Hierarchy ===
Contributors: rooftopcms
Tags: rooftop, api, headless, content
Requires at least: 4.3
Tested up to: 4.8.1
Stable tag: 4.3
License: GPLv3
License URI: http://www.gnu.org/licenses/gpl-3.0.html

rooftop-content-hierarchy parent/child id's to hierarchical content types

== Description ==

rooftop-content-hierarchy includes the parent and child content ID's of a given post.
This allows compatible clients to easily fetch related content, even if its endpoint doesn't
specify the relationships in its _links resource

Track progress, raise issues and contribute at http://github.com/rooftopcms/rooftop-content-hierarchy

== Installation ==

rooftop-content-hierarchy is a Composer plugin, so you can include it in your Composer.json.

Otherwise you can install manually:

1. Upload the `rooftop-content-hierarchy` folder to the `/wp-content/plugins/` directory
2. Activate the plugin through the 'Plugins' menu in WordPress
3. There is no step 3 :-)

== Frequently Asked Questions ==

= Can this be used without Rooftop CMS? =

Yes, it's a Wordpress plugin you're welcome to use outside the context of Rooftop CMS. We haven't tested it, though.

== Changelog ==

= 1.2.1 =
* Update readme for packaging

= 1.2.0 =
* Fix ordering issue

= 0.0.1 =
* Initial release

== What's Rooftop CMS? ==

Rooftop CMS is a hosted, API-first WordPress CMS for developers and content creators. Use WordPress as your content management system, and build your website or application in the language best suited to the job.

https://www.rooftopcms.com
```

###  Health Score

28

—

LowBetter than 54% of packages

Maintenance10

Infrequent updates — may be unmaintained

Popularity16

Limited adoption so far

Community5

Small or concentrated contributor base

Maturity68

Established project with proven stability

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

Total

3

Last Release

3172d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/2e250085128753dc335b3e119c155b7a16f405b9ac398d1d6c8ad6b73580a29e?d=identicon)[rooftopcms](/maintainers/rooftopcms)

### Embed Badge

![Health badge](/badges/rooftopcms-rooftop-content-hierarchy/health.svg)

```
[![Health](https://phpackages.com/badges/rooftopcms-rooftop-content-hierarchy/health.svg)](https://phpackages.com/packages/rooftopcms-rooftop-content-hierarchy)
```

###  Alternatives

[stripe/stripe-php

Stripe PHP Library

4.0k143.3M475](/packages/stripe-stripe-php)[twilio/sdk

A PHP wrapper for Twilio's API

1.6k92.9M270](/packages/twilio-sdk)[knplabs/github-api

GitHub API v3 client

2.2k15.8M187](/packages/knplabs-github-api)[facebook/php-business-sdk

PHP SDK for Facebook Business

90121.9M34](/packages/facebook-php-business-sdk)[microsoft/microsoft-graph

The Microsoft Graph SDK for PHP

65723.5M95](/packages/microsoft-microsoft-graph)[meilisearch/meilisearch-php

PHP wrapper for the Meilisearch API

73813.7M114](/packages/meilisearch-meilisearch-php)

PHPackages © 2026

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