eighteen73/wordpress-condition-report 问题修复 & 功能扩展

解决BUG、新增功能、兼容多环境部署,快速响应你的开发需求

邮箱:yvsm@zunyunkeji.com | QQ:316430983 | 微信:yvsm316

eighteen73/wordpress-condition-report

Composer 安装命令:

composer require eighteen73/wordpress-condition-report

包简介

Send website information to the developer's monitoring service for integrity checks.

README 文档

README

This plugin gathers data that's useful for diagnostic checks. Nothing collected is PII nor does it contain information that would be otherwise considered as highly sensitive.

Installation

Using Composer

  1. Run composer require eighteen73/wordpress-beacon
  2. Activate the plugin in your CMS as normal

Once activated it sends data to our monitoring server every 3 hours.

Without Composer

We highly encourage you to install the plugin using Composer where possible. On website's that are not package-managed it can be unzipped into the plugins directory though.

Configuration

Add the following configuration so the plugin knows where to send the data:

define( 'BEACON_URL', 'https://example.com/your/api/endpoint' );

You may also set BEACON_INTERVAL to change the number of seconds between runs (default is 3 hours) and use the filter beacon_headers to adjust the headers sent to the URL above.

Included Data

You can see what information the plugin collects by clicking the "Copy data to clipboard" on the Plugins page. This puts the exact JSON that is sent to our server into your clipboard.

Data it includes things like the WordPress version, a list of running plugins and their versions, hosting data (server version, PHP version, etc.), and the Git repo information if applicable

Here is an example of the compiled data:

{
  "cms": {
    "contact": "someone@example.com",
    "name": "wordpress",
    "version": "6.0"
  },
  "theme": {
    "name": "Pulsar",
    "uri": "https://github.com/eighteen73/pulsar",
    "version": "0.1.0"
  },
  "plugins": [
    {
      "active": true,
      "name": "nebula-autoloader",
      "title": "Nebula Autoloader",
      "uri": "https://github.com/eighteen73/nebula/",
      "version": "0.1.0"
    },
    {
      "active": true,
      "name": "wordpress-beacon",
      "title": "eighteen73 Beacon",
      "uri": "https://github.com/eighteen73/wordpress-beacon",
      "version": "1.0.0"
    },
    ...
  ],
  "technical": {
    "git": {
      "last_commit_date": "Sat Jun 11 12:00:51 2022 +0100",
      "origin": "git@github.com:path_to/gitrepo",
      "path": "/local/path/to/gitrepo"
    },
    "os": {
      "architecture": "x86_64",
      "hostname": "example.com",
      "name": "Linux",
      "version": "4.15.0-167-generic"
    },
    "php": {
      "composer-dev": true,
      "interface": "fpm-fcgi",
      "version": "8.0.15"
    },
    "web": {
      "domain": "website.example.com",
      "https": true,
      "ip": "127.0.0.1",
      "path": "/local/path/to/gitrepo/web",
      "protocol": "HTTP/2.0",
      "server": "nginx/1.21.6",
      "url": "https://website.example.com"
    }
  }
}

统计信息

  • 总下载量: 29
  • 月度下载量: 0
  • 日度下载量: 0
  • 收藏数: 0
  • 点击次数: 3
  • 依赖项目数: 0
  • 推荐数: 0

GitHub 信息

  • Stars: 0
  • Watchers: 4
  • Forks: 0
  • 开发语言: PHP

其他信息

  • 授权协议: MIT
  • 更新时间: 2022-06-12

承接程序开发

PHP开发

VUE

Vue开发

前端开发

小程序开发

公众号开发

系统定制

数据库设计

云部署

网站建设

安全加固