Download the PHP package onstage2426/wp-hub-updater without Composer
On this page you can find all versions of the php package onstage2426/wp-hub-updater. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download onstage2426/wp-hub-updater
More information about onstage2426/wp-hub-updater
Files in onstage2426/wp-hub-updater
Package wp-hub-updater
Short Description WordPress plugin and theme updater powered by GitHub releases. Requires PHP 8.3+ and WordPress 6.6+. Includes a bundler (bin/wp-hub-updater) to copy and namespace-prefix the library into any plugin for conflict-free shipping.
License MIT
Homepage https://github.com/onstage2426/wp-hub-updater
Informations about the package wp-hub-updater
wp-hub-updater
Delivers WordPress plugin and theme updates from a GitHub repository. Hooks into the standard WordPress update system so your entity appears in the Updates screen and can be installed with a single click.
Installation
Requirements: PHP 8.3+, WordPress 6.6+
This is a build-time tool — it generates a prefixed copy of itself into your project and is excluded from the final ZIP. See Distribution → Namespace isolation.
Quick start
Examples below use MyPlugin as the namespace prefix. Replace it with whatever you passed to vendor/bin/wp-hub-updater.
Plugin — add two lines to your main plugin file:
Theme — add two lines to functions.php:
Documentation
- Configuration — all chainable methods, access token, branch, cooldown, release filters, reading state
- WordPress filters — filters and actions for info, update, detection strategies, error handling
- Data classes —
Update,PluginInfo,ThemeInfoproperties - Distribution — namespace isolation, release pipeline, draft-first workflow, version stamping, ZIP
hu.json— metadata schema, changelog, local assets- Advanced — MU-plugins, debugging, WP-CLI, reliability features
License
MIT — see LICENSE.