PHPackages                             nunocodex/wpapi - 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. nunocodex/wpapi

ActiveLibrary[API Development](/categories/api)

nunocodex/wpapi
===============

WordPress API Library

v1.3.0(8y ago)420MITPHP

Since Nov 5Pushed 7y ago1 watchersCompare

[ Source](https://github.com/nunocodex/wpapi)[ Packagist](https://packagist.org/packages/nunocodex/wpapi)[ RSS](/packages/nunocodex-wpapi/feed)WikiDiscussions master Synced 2d ago

READMEChangelog (7)Dependencies (1)Versions (14)Used By (0)

Introduction
============

[](#introduction)

This is library for access to WordPress API websites easy.

Installation
============

[](#installation)

You can simply install with composer:

`composer require nunocodex/wpapi`

Readme is working progress
==========================

[](#readme-is-working-progress)

```
// GuzzleHttp options
$wpapiClientOptions = [
    'base_uri' => 'http://example.com/',
    'verify' => false,
    'auth' => [ 'user', 'pass' ]
];

// It's a GuzzleHttp extended class so you can bind
// the client with WpApiClientInterface for no change
// anything in this code.
$wpapiClient = new WpApiClient($wpapiClientOptions);

// WpApi object
$wpapi = new WpApi($wpapiClient);

$posts = $wpapi->posts()->embed()->filter([ 'order' => 'asc' ])->pagination(10)->get();
```

###  Health Score

30

—

LowBetter than 64% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity10

Limited adoption so far

Community4

Small or concentrated contributor base

Maturity70

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

Recently: every ~26 days

Total

13

Last Release

2927d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/4c26d1a4ae7606cf6a36713bbd57e2a9130a45eb066ee7df2ed982494a644683?d=identicon)[namaless](/maintainers/namaless)

---

Tags

wordpresswpapi

### Embed Badge

![Health badge](/badges/nunocodex-wpapi/health.svg)

```
[![Health](https://phpackages.com/badges/nunocodex-wpapi/health.svg)](https://phpackages.com/packages/nunocodex-wpapi)
```

###  Alternatives

[tencentcloud/tencentcloud-sdk-php

TencentCloudApi php sdk

3731.2M42](/packages/tencentcloud-tencentcloud-sdk-php)[sybrew/the-seo-framework

An automated, advanced, accessible, unbranded and extremely fast SEO solution for any WordPress website.

47078.8k](/packages/sybrew-the-seo-framework)[madeitbelgium/wordpress-php-sdk

WordPress Laravel PHP SDK

4422.9k1](/packages/madeitbelgium-wordpress-php-sdk)

PHPackages © 2026

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