PHPackages                             kistn/wp-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. [API Development](/categories/api)
4. /
5. kistn/wp-client

ActiveLibrary[API Development](/categories/api)

kistn/wp-client
===============

WordPress plugin for the Kistn API

v1.0.2(1mo ago)00MITPHPPHP ^8.3

Since Jul 1Pushed 3d agoCompare

[ Source](https://github.com/cdoebler/kistn-wp)[ Packagist](https://packagist.org/packages/kistn/wp-client)[ RSS](/packages/kistn-wp-client/feed)WikiDiscussions main Synced 1w ago

READMEChangelog (4)Dependencies (16)Versions (4)Used By (0)

kistn/wp-client
===============

[](#kistnwp-client)

WordPress plugin client for the Kistn API. Collects installed plugins, themes, and WordPress core, then pushes inventory for centralized vulnerability monitoring.

Requirements
------------

[](#requirements)

- WordPress 6.0+
- PHP 8.3+
- WPScan API token (optional — enables vulnerability lookups)

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

[](#installation)

### Automatic installation via WordPress plugins

[](#automatic-installation-via-wordpress-plugins)

Login to your WordPress backend, navigate to **Plugins → Add New** and search for "kistn". When the plugin "Kistn API Client" appears, click install. After installation click activate to activate the plugin.

### Manual installation

[](#manual-installation)

Download the current release from [the WordPress plugin repository](https://wordpress.org/plugins/kistn) or from [the releases page](https://github.com/cdoebler/kistn-wp/releases) and upload the plugin ZIP via **Plugins → Add New → Upload Plugin**, then activate.

### Via Composer

[](#via-composer)

```
composer require kistn/wp-client
```

Then activate the plugin as usual via **Plugins** in your WordPress admin.

Configuration
-------------

[](#configuration)

**Settings page:** Settings → Kistn

**Or constants in `wp-config.php`:**

```
define( 'KISTN_BASE_URL',      'https://your-server.example.com' );
define( 'KISTN_PROJECT_ID',    'your-project-uuid' );
define( 'KISTN_TOKEN',         'your-api-token' );
define( 'KISTN_WPSCAN_TOKEN',  'your-wpscan-api-token' ); // optional
```

Constants take precedence over settings-page values.

Push Flow
---------

[](#push-flow)

Each run (scheduled or CLI):

1. **Preflight** — `POST /preflight/wp` — server returns stale slugs, cached advisory payloads, and known-private slugs.
2. **Hash check** — `GET /hashes` for all ecosystems; compare each locally; skip push if all unchanged.
3. **WPScan lookup** — query WPScan only for stale, non-private slugs. Slugs returning 404 are reported as `private_packages`.
4. **Push** — `POST /inventory` bundled: `{"ecosystems": {"wp-plugin": {...}, "wp-theme": {...}, "wp-core": {...}}}` — only ecosystems that changed.

CLI
---

[](#cli)

```
wp kistn push
```

What gets collected
-------------------

[](#what-gets-collected)

CollectorSource`Kistn_Plugin_Collector`Active and inactive plugins`Kistn_Theme_Collector`Active theme + parent (child themes flagged `is_child=true`)`Kistn_Core_Collector`WordPress core versionPackages without a `source_url` (no WordPress.org listing) are inferred as private without querying WPScan.

###  Health Score

40

—

FairBetter than 86% of packages

Maintenance96

Actively maintained with recent releases

Popularity0

Limited adoption so far

Community6

Small or concentrated contributor base

Maturity51

Maturing project, gaining track record

 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.

###  Release Activity

Cadence

Every ~5 days

Total

3

Last Release

45d ago

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/798042?v=4)[Christian Doebler](/maintainers/cdoebler)[@cdoebler](https://github.com/cdoebler)

---

Top Contributors

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

###  Code Quality

TestsPest

Static AnalysisPHPStan, Rector

Type Coverage Yes

### Embed Badge

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

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

###  Alternatives

[exsyst/swagger

A php library to manipulate Swagger specifications

35816.5M7](/packages/exsyst-swagger)[lucasdotvin/laravel-soulbscription

A straightforward interface to handle subscriptions and features consumption.

709209.3k](/packages/lucasdotvin-laravel-soulbscription)[pimax/fb-messenger-php

Facebook Messenger Bot PHP API

313188.5k2](/packages/pimax-fb-messenger-php)[commercetools/commercetools-api-reference

6520.5k3](/packages/commercetools-commercetools-api-reference)

PHPackages © 2026

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