PHPackages                             wp-api/client - 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. wp-api/client

ActiveLibrary

wp-api/client
=============

Client for the WordPress JSON REST API

616.6k15[4 issues](https://github.com/WP-API/client-php/issues)[2 PRs](https://github.com/WP-API/client-php/pulls)PHP

Since May 27Pushed 11y ago8 watchersCompare

[ Source](https://github.com/WP-API/client-php)[ Packagist](https://packagist.org/packages/wp-api/client)[ RSS](/packages/wp-api-client/feed)WikiDiscussions master Synced 6d ago

READMEChangelogDependenciesVersions (1)Used By (0)

WordPress API Client
====================

[](#wordpress-api-client)

This client software is the reference implementation of an API client for the [JSON REST API](https://github.com/rmccue/WP-API) and also the independent testing suite for the API.

The API client library, testing software is [ISC Licensed](https://github.com/rmccue/WP-API-Client/blob/master/LICENSE) (similar to the new BSD license) and depends only on [Requests](http://requests.ryanmccue.info/), which is bundled with the client.

(Eventually, this will use Composer instead, and allow using other client libraries.)

Running the Tests
-----------------

[](#running-the-tests)

To run the API test suite, simply execute the following:

```
$ cd tests/
$ phpunit

```

You can also add `Client` or `Server` after `phpunit` to test a single component from these.

###  Health Score

30

—

LowBetter than 64% of packages

Maintenance19

Infrequent updates — may be unmaintained

Popularity34

Limited adoption so far

Community16

Small or concentrated contributor base

Maturity41

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 96% 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://avatars.githubusercontent.com/u/21655?v=4)[Ryan McCue](/maintainers/rmccue)[@rmccue](https://github.com/rmccue)

---

Top Contributors

[![rmccue](https://avatars.githubusercontent.com/u/21655?v=4)](https://github.com/rmccue "rmccue (24 commits)")[![danielbachhuber](https://avatars.githubusercontent.com/u/36432?v=4)](https://github.com/danielbachhuber "danielbachhuber (1 commits)")

### Embed Badge

![Health badge](/badges/wp-api-client/health.svg)

```
[![Health](https://phpackages.com/badges/wp-api-client/health.svg)](https://phpackages.com/packages/wp-api-client)
```

PHPackages © 2026

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