PHPackages                             mupic/rest-filter - 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. [HTTP &amp; Networking](/categories/http)
4. /
5. mupic/rest-filter

ActiveWordpress-plugin[HTTP &amp; Networking](/categories/http)

mupic/rest-filter
=================

Restores the `filter` param to post enpdpoints.

1.0.0(7y ago)011MITPHP

Since Apr 17Pushed 7y ago1 watchersCompare

[ Source](https://github.com/mupic/rest-filter)[ Packagist](https://packagist.org/packages/mupic/rest-filter)[ Docs](https://github.com/mupic/rest-filter)[ RSS](/packages/mupic-rest-filter/feed)WikiDiscussions master Synced 3d ago

READMEChangelogDependenciesVersions (2)Used By (0)

WP REST API - Filter parameter for posts endpoints
==================================================

[](#wp-rest-api---filter-parameter-for-posts-endpoints)

Install
=======

[](#install)

```
composer require mupic/rest-filter

```

**This plugin is currently unmaintained.**

In WordPress 4.7 the `filter` argument for any post endpoint was removed, The `filter` argument allows the posts to be filtered using `WP_Query` public query vars. This plugin restores the `filter` parameter for sites that were previously using it.

Usage
-----

[](#usage)

Use the `filter` parameter on any post endpoint such as `/wp/v2/posts` or `/wp/v2/pages` as an array of `WP_Query`argument.

###  Health Score

26

—

LowBetter than 43% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity5

Limited adoption so far

Community14

Small or concentrated contributor base

Maturity59

Maturing project, gaining track record

 Bus Factor2

2 contributors hold 50%+ of commits

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

2584d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/5c30f1dfe16aeff549b90a8a3c123212f5538a1a4c015090c79a3a87813e760b?d=identicon)[mupic](/maintainers/mupic)

---

Top Contributors

[![kadamwhite](https://avatars.githubusercontent.com/u/442115?v=4)](https://github.com/kadamwhite "kadamwhite (4 commits)")[![joehoyle](https://avatars.githubusercontent.com/u/161683?v=4)](https://github.com/joehoyle "joehoyle (3 commits)")[![fueguino84](https://avatars.githubusercontent.com/u/5799701?v=4)](https://github.com/fueguino84 "fueguino84 (1 commits)")[![kevinlangleyjr](https://avatars.githubusercontent.com/u/877634?v=4)](https://github.com/kevinlangleyjr "kevinlangleyjr (1 commits)")[![mupic](https://avatars.githubusercontent.com/u/15020351?v=4)](https://github.com/mupic "mupic (1 commits)")[![artplan1](https://avatars.githubusercontent.com/u/9060346?v=4)](https://github.com/artplan1 "artplan1 (1 commits)")[![rachelbaker](https://avatars.githubusercontent.com/u/979807?v=4)](https://github.com/rachelbaker "rachelbaker (1 commits)")[![ashhitch](https://avatars.githubusercontent.com/u/2438290?v=4)](https://github.com/ashhitch "ashhitch (1 commits)")

---

Tags

restwpwp-api

### Embed Badge

![Health badge](/badges/mupic-rest-filter/health.svg)

```
[![Health](https://phpackages.com/badges/mupic-rest-filter/health.svg)](https://phpackages.com/packages/mupic-rest-filter)
```

###  Alternatives

[zircote/swagger-php

Generate interactive documentation for your RESTful API using PHP attributes (preferred) or PHPDoc annotations

5.3k132.9M468](/packages/zircote-swagger-php)[psr/link

Common interfaces for HTTP links

2.5k144.1M68](/packages/psr-link)[league/fractal

Handle the output of complex data structures ready for API output.

3.5k64.1M476](/packages/league-fractal)[friendsofsymfony/rest-bundle

This Bundle provides various tools to rapidly develop RESTful API's with Symfony

2.8k73.3M319](/packages/friendsofsymfony-rest-bundle)[lexik/jwt-authentication-bundle

This bundle provides JWT authentication for your Symfony REST API

2.6k58.7M210](/packages/lexik-jwt-authentication-bundle)[nelmio/api-doc-bundle

Generates documentation for your REST API from attributes

2.3k63.6M233](/packages/nelmio-api-doc-bundle)

PHPackages © 2026

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