承接 kyle-niemiec/wppf-update-helper 相关项目开发

从需求分析到上线部署,全程专人跟进,保证项目质量与交付效率

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

kyle-niemiec/wppf-update-helper

最新稳定版本:1.0.2

Composer 安装命令:

composer require kyle-niemiec/wppf-update-helper

包简介

A small, importable framework for integrating a WPPF plugin with the WordPress Plugin Update Server.

README 文档

README

This project is a Composer-distrubuted package designed to integrate a custom WordPress plugin project with the WP Plugin Update Server. It provides the tools used to communicate with a plugin update server and perform information reporting and update installation.

Installation

To install this package into your plugin project, simply navigate to the root directory of your project in a command terminal and run composer require kyle-niemiec/wppf-update-helper. This installs the update helper into the vendor directoy and updates your Composer file.

Usage

In order to have your WordPress plugin talk to an update server, you must define a plugin slug and a URL to access in your plugin.

This project assumes your plugin folder name will have the same name (slug) as the primary PHP file inside of it. That is, your plugin should have an effective ID of "plugin-slug/plugin-slug.php". If you do not organize your project as such, the update system will not work.

To tell the update helper what you plugin slug and update URL are, you simply need to require the update helper, then add the slug and URL to the plugin update list via a key/value pair.

/* Inside of "plugin-slug/plugin-slug.php" */

use WPPF\Update_Helper\v1_0_2\Plugin_Update_List;

// Include the plugin update helper
require_once __DIR__ . '/vendor/kyle-niemiec/wppf-update-helper/index.php';

// Add the slug and URL to the list
Plugin_Update_List::add_plugin( 'plugin-slug', 'https://codeflower.io/' );

If you plan on using a private GitHub repository, you should provide an SSL key to use to encrypt your API token in "Settings > WPPF Settings". This token must match the token on the update server.

统计信息

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

GitHub 信息

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

其他信息

  • 授权协议: GPL-3.0
  • 更新时间: 2026-01-20

承接程序开发

PHP开发

VUE

Vue开发

前端开发

小程序开发

公众号开发

系统定制

数据库设计

云部署

网站建设

安全加固