PHPackages                             rooftopcms/rooftop-response-sanitiser - 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. rooftopcms/rooftop-response-sanitiser

AbandonedArchivedWordpress-muplugin

rooftopcms/rooftop-response-sanitiser
=====================================

The awesome WP-API includes some things in its response that we would rather handle in the client.For example, we remove content\['rendered'\] and replace with content\['json'\] with links replaced with shortcodes.

1.2.1.2(7y ago)13871[1 issues](https://github.com/rooftopcms/rooftop-response-sanitiser/issues)[1 PRs](https://github.com/rooftopcms/rooftop-response-sanitiser/pulls)GPL-3.0PHP

Since Aug 3Pushed 7y ago2 watchersCompare

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

READMEChangelogDependenciesVersions (8)Used By (0)

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

Alter the standard WP-API response with custom fields

== Description ==

The awesome WP-API includes some things in its response that we would rather handle in the client.
For example, we remove content['rendered'] and replace with content['json'] with links replaced with shortcodes.

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

== Installation ==

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

Otherwise you can install manually:

1. Upload the `rooftop-response-sanitiser` 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.2 =
* Remove link attribute parser as it was causing a performance hit

= 1.2.1.1 =
* Run shortcodes before converting line breaks to paragraphs with wpautop

= 1.2.1 =
* Tweak readme for packaging

= 1.2.0 =
* Register a rest hook to add the post status to responses

== 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

26

—

LowBetter than 43% of packages

Maintenance0

Infrequent updates — may be unmaintained

Popularity15

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

Total

3

Last Release

2633d ago

### Community

Maintainers

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

### Embed Badge

![Health badge](/badges/rooftopcms-rooftop-response-sanitiser/health.svg)

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

PHPackages © 2026

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