PHPackages                             camrymps/wordpress.org-api - 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. camrymps/wordpress.org-api

ActiveLibrary[API Development](/categories/api)

camrymps/wordpress.org-api
==========================

A client for retrieving information from the WordPress.org API.

027PHP

Since Dec 18Pushed 7y ago1 watchersCompare

[ Source](https://github.com/camrymps/wordpress.org-api)[ Packagist](https://packagist.org/packages/camrymps/wordpress.org-api)[ RSS](/packages/camrymps-wordpressorg-api/feed)WikiDiscussions master Synced 3d ago

READMEChangelogDependenciesVersions (1)Used By (0)

WordPress.org API Client
========================

[](#wordpressorg-api-client)

Client for retrieving information from the WordPress.org API. Documentation for the WordPress.org API is located [here](https://codex.wordpress.org/WordPress.org_API).

Installation
------------

[](#installation)

```
composer require camrymps/wordpress.org-api

```

Getting Started
---------------

[](#getting-started)

```
use WordPressOrgApi\WordPress as WordPressClient;

$client = new WordPressClient;
$client = new WordPressClient(true); // Returns all responses as associative arrays (optional)
```

Usage
-----

[](#usage)

`checkVersion()`

Returns information on currently supported Wordpress versions.

```
$client->checkVersion();
```

`searchThemes([$params])`

Returns a list of themes with their associated information.

```
$client->searchThemes();
```

```
$client->searchThemes([
    "search" => "foo",
    "fields" => [
        "description" => true
    ]
]);
```

`getTheme($slug[, $params])`

Returns information about a specific theme.

```
$client->getTheme("twentyseventeen");
```

```
$client->getTheme("twentyseventeen", [
    "fields" => [
        "description" => true
    ]
]);
```

`getHotThemeTags([$params])`

Returns a list of the most popular theme tags.

```
$client->getHotThemeTags()
```

```
$client->getHotThemeTags([
    "number" => 10
]);
```

`getThemeFeatureList()`

Returns a list of valid theme tags.

```
$client->getThemeFeatureList();
```

`searchPlugins([$params])`

Returns a list of plugins with their associated information.

```
$client->searchPlugins();
```

```
$client->searchPlugins([
    "search" => "foo",
    "fields" => [
        "description" => true
    ]
]);
```

`getPlugin($slug[, $params])`

Returns information about a specific plugin.

```
$client->getPlugin("jetpack");
```

```
$client->getPlugin("jetpack", [
    "fields" => [
        "description" => true
    ]
]);
```

`getHotPluginTags([$params])`

Returns a list of the most popular plugin tags.

```
$client->getHotPluginTags();
```

```
$client->getHotPluginTags([
    "number" => 10
]);
```

`getPopularImportPlugins()`

Returns a list of popular import plugins in the WordPress Plugin Directory.

```
$client->getPopularImportPlugins();
```

Parameters
----------

[](#parameters)

For an in-depth list of parameters that can be used with the methods above, please refer to the Wordpress.org API located [here](https://codex.wordpress.org/WordPress.org_API).

Async
-----

[](#async)

All methods can be used asynchronously simply by adding "Async" to the end of the method name. For example:

```
$promise = $client->getThemeAsync("twentyseventeen");

$promise->then(
    function($theme) {
        var_dump($theme);
    }
);
```

###  Health Score

20

—

LowBetter than 14% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity7

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity39

Early-stage or recently created project

 Bus Factor1

Top contributor holds 100% 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/7929757?v=4)[Michael Scott](/maintainers/camrymps)[@camrymps](https://github.com/camrymps)

---

Top Contributors

[![camrymps](https://avatars.githubusercontent.com/u/7929757?v=4)](https://github.com/camrymps "camrymps (6 commits)")

### Embed Badge

![Health badge](/badges/camrymps-wordpressorg-api/health.svg)

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

###  Alternatives

[stripe/stripe-php

Stripe PHP Library

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

A PHP wrapper for Twilio's API

1.6k92.9M272](/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)[meilisearch/meilisearch-php

PHP wrapper for the Meilisearch API

73813.7M114](/packages/meilisearch-meilisearch-php)[google/gax

Google API Core for PHP

263103.1M454](/packages/google-gax)

PHPackages © 2026

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