Download the PHP package portrino/cms-observer-client-wordpress without Composer

On this page you can find all versions of the php package portrino/cms-observer-client-wordpress. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.

FAQ

After the download, you have to make one include require_once('vendor/autoload.php');. After that you have to import the classes with use statements.

Example:
If you use only one package a project is not needed. But if you use more then one package, without a project it is not possible to import the classes with use statements.

In general, it is recommended to use always a project to download your libraries. In an application normally there is more than one library needed.
Some PHP packages are not free to download and because of that hosted in private repositories. In this case some credentials are needed to access such packages. Please use the auth.json textarea to insert credentials, if a package is coming from a private repository. You can look here for more information.

  • Some hosting areas are not accessible by a terminal or SSH. Then it is not possible to use Composer.
  • To use Composer is sometimes complicated. Especially for beginners.
  • Composer needs much resources. Sometimes they are not available on a simple webspace.
  • If you are using private repositories you don't need to share your credentials. You can set up everything on our site and then you provide a simple download link to your team member.
  • Simplify your Composer build process. Use our own command line tool to download the vendor folder as binary. This makes your build process faster and you don't need to expose your credentials for private repositories.
Please rate this library. Is it a good library?

Informations about the package cms-observer-client-wordpress

WordPress Plugin cms-observer-client

Latest Stable Version WordPress 6.4+ PHP 8.1 - 8.5 License CI

This plugin reports a site's WordPress core version, PHP + DB versions, and installed plugin and theme versions to a central CMS Observer instance, which flags insecure and outdated versions.

[!IMPORTANT] Without a central CMS Observer instance this plugin is somewhat useless. So set up your central CMS Observer instance first and then connect any number of WordPress sites by using this client.

Needs CMS Observer 0.7.0 or newer (version 1.x of this plugin works with older ones, without themes).

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.

🔥 Installation

Composer

The recommended way for Composer based WordPress setups (e.g. Bedrock):

ZIP

Download cms-observer-client-<version>.zip from the GitHub releases and upload it under Plugins > Add New > Upload Plugin. (Don't use GitHub's "Source code" ZIP, it unpacks to a different directory.)

Activate the plugin, on multisite network-wide.

🔧 Configuration

  1. On the Observer, register a new site with the type wordpress (using command line or web interface) and copy the printed token:

  2. In WordPress, go to Settings > CMS Observer (on multisite: Network Admin > Settings > CMS Observer) and set:

    • API URL – the Observer's base URL, must use https://
    • Token – the token from step 1

    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.

Several environments (production, staging, …)

🚀 Run

The plugin sends the report once a day via WP-Cron. On sites with low traffic, or with DISABLE_WP_CRON, run WP-Cron from a system cron job, or push the report with WP-CLI:

To check what would be sent without sending it:

💎 Credits

This project is the WordPress counterpart of the TYPO3 extension cms-observer-client-typo3.

🧑‍💻 Contributing

Please have a look at CONTRIBUTING.md.


All versions of cms-observer-client-wordpress with dependencies

PHP Build Version
Package Version
Requires php Version ^8.1
composer/installers Version ^2.0
Composer command for our command line client (download client) This client runs in each environment. You don't need a specific PHP version etc. The first 20 API calls are free. Standard composer command

The package portrino/cms-observer-client-wordpress contains the following files

Loading the files please wait ...