Title: CMS Observer Client
Author: portrino
Published: <strong>November 27, 2026</strong>
Last modified: November 27, 2026

---

Search plugins

![](https://ps.w.org/cms-observer-client/assets/banner-772x250.png?rev=3830619)

![](https://ps.w.org/cms-observer-client/assets/icon.svg?rev=3830619)

# CMS Observer Client

 By [portrino](https://profiles.wordpress.org/portrino/)

[Download](https://downloads.wordpress.org/plugin/cms-observer-client.2.0.6.zip)

 * [Details](https://wordpress.org/plugins/cms-observer-client/#description)
 * [Reviews](https://wordpress.org/plugins/cms-observer-client/#reviews)
 *  [Installation](https://wordpress.org/plugins/cms-observer-client/#installation)
 * [Development](https://wordpress.org/plugins/cms-observer-client/#developers)

 [Support](https://wordpress.org/support/plugin/cms-observer-client/)

## Description

This plugin reports a site’s WordPress core version, PHP and database versions, 
and the installed plugin and theme
 versions to a central [CMS Observer](https://github.com/portrino/cms-observer)
instance, which flags insecure and outdated versions.

Without a central CMS Observer instance this plugin is of no use. Set up your CMS
Observer instance first, then
 connect any number of WordPress sites with this plugin.
It needs CMS Observer 0.7.0 or newer.

Works on single sites and multisite networks. A network is reported as one site:
its configuration is network-wide,
 and a plugin or theme counts as active when 
it’s active on any site of the network (a plugin also when network-activated). The
parent of an active child theme counts as active too.

The report is sent once a day via WP-Cron. It can also be sent with WP-CLI:

    ```
    wp cms-observer push
    ```

To check what would be sent without sending it:

    ```
    wp cms-observer push --dry-run
    ```

### External services

This plugin connects to a CMS Observer instance, a self-hosted application (https://
github.com/portrino/cms-observer)
 whose URL you configure. It doesn’t connect to
any service before you have set the API URL and token. No data is sent to the plugin
authors or any other third party.

Once a day via WP-Cron, and whenever `wp cms-observer push` is run, the plugin sends
a report to
 /api/v1/sites/report over https, authenticated with the configured 
token. The report contains:

 * the WordPress core, PHP and database versions and the database platform (MySQL
   or MariaDB)
 * the plugin version and the environment type (`wp_get_environment_type()`)
 * the domains of the site (on multisite: of all sites of the network)
 * the name, title, version and active state of every installed plugin and theme

It contains no content, users or other personal data. What happens to the data on
the Observer is up to whoever
 operates the instance you configure.

## Installation

 1. Install and activate the plugin, on multisite network-wide.
 2. On the CMS Observer, register a new site with the type `wordpress` and copy the
    printed token:
     php bin/console app:site:create “” wordpress “”
 3. In WordPress, go to Settings > CMS Observer (on multisite: Network Admin > Settings
    > CMS Observer) and set the
     API URL (the Observer’s base URL, must use https) 
    and the token.

Alternatively define `CMS_OBSERVER_API_URL` and `CMS_OBSERVER_TOKEN` as constants
in `wp-config.php` or as
 environment variables. They take precedence over the settings
page (environment variable first), so a shared wp-config.php can serve several environments.

For Composer based setups the plugin is also available as `portrino/cms-observer-
client-wordpress` (recommended,
 it replaces `wpackagist-plugin/cms-observer-client`).

## FAQ

### How do I run several environments (production, staging, …)?

Set the token for each environment as environment variable or constant in `wp-config.
php`, not on the settings
 page. A token saved on the settings page is stored in
the database and copied along with it, e.g. when staging gets the production database.
The Observer rejects a report with HTTP 409 when none of its domains matches the
registered site URL; WP-CLI shows the Observer’s message, the settings page shows
the last failed push.

Set `WP_ENVIRONMENT_TYPE` in each environment’s `wp-config.php`, the report sends
it as the application context.
 Without it WordPress reports `production`.

### The report isn’t sent every day. Why?

WP-Cron only runs when the site gets visits. On sites with low traffic, or with `
DISABLE_WP_CRON`, run WP-Cron from
 a system cron job, or run `wp cms-observer push`
from one.

## Reviews

There are no reviews for this plugin.

## Contributors & Developers

“CMS Observer Client” is open source software. The following people have contributed
to this plugin.

Contributors

 *   [ portrino ](https://profiles.wordpress.org/portrino/)

[Translate “CMS Observer Client” into your language.](https://translate.wordpress.org/projects/wp-plugins/cms-observer-client)

### Interested in development?

[Browse the code](https://plugins.trac.wordpress.org/browser/cms-observer-client/),
check out the [SVN repository](https://plugins.svn.wordpress.org/cms-observer-client/),
or subscribe to the [development log](https://plugins.trac.wordpress.org/log/cms-observer-client/)
by [RSS](https://plugins.trac.wordpress.org/log/cms-observer-client/?limit=100&mode=stop_on_copy&format=rss).

## Changelog

#### 2.0.6

 * Composer: `portrino/cms-observer-client-wordpress` replaces `wpackagist-plugin/
   cms-observer-client`, so a project
    can’t end up with both in the same plugin
   directory.
 * WordPress.org banner and icon.

#### 2.0.5

 * First release on WordPress.org. Updates now come from WordPress.org; installations
   of 2.0.4 or older look for
    updates on GitHub and need one manual update to this
   version.

#### 2.0.4

 * A report the CMS Observer rejects as invalid (HTTP 422) now names the invalid
   field in the error message, instead of
    only the status code.

#### 2.0.3

 * Show every failed push from WP-Cron on the settings page, also when the report
   can’t be built. These errors are
    no longer written to the PHP error log.
 * Add a readme.txt and leave the Markdown files out of the release ZIP.

#### 2.0.2

 * Maintenance release without functional changes.

#### 2.0.0

 * Report the installed themes along with the plugins, as `packages`. Needs CMS 
   Observer 0.7.0 or newer.

#### 1.0.0

 * First release.

## Meta

 *  Version **2.0.6**
 *  Last updated **1 day ago**
 *  Active installations **Fewer than 10**
 *  WordPress version ** 6.4 or higher **
 *  Tested up to **7.1.5**
 *  PHP version ** 8.1 or higher **
 * Tags
 * [monitoring](https://wordpress.org/plugins/tags/monitoring/)[multisite](https://wordpress.org/plugins/tags/multisite/)
   [security](https://wordpress.org/plugins/tags/security/)[updates](https://wordpress.org/plugins/tags/updates/)
   [vulnerabilities](https://wordpress.org/plugins/tags/vulnerabilities/)
 *  [Advanced View](https://wordpress.org/plugins/cms-observer-client/advanced/)

## Ratings

No reviews have been submitted yet.

[Your review](https://wordpress.org/support/plugin/cms-observer-client/reviews/#new-post)

[See all reviews](https://wordpress.org/support/plugin/cms-observer-client/reviews/)

## Contributors

 *   [ portrino ](https://profiles.wordpress.org/portrino/)

## Support

Got something to say? Need help?

 [View support forum](https://wordpress.org/support/plugin/cms-observer-client/)