Download the PHP package wpupdatehub/updater without Composer
On this page you can find all versions of the php package wpupdatehub/updater. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download wpupdatehub/updater
More information about wpupdatehub/updater
Files in wpupdatehub/updater
Package updater
Short Description A simple and lightweight package to update your WordPress plugins and themes from a private repository.
License GPL-3.0-or-later
Homepage https://github.com/wplatest/updater/
Informations about the package updater
WordPress Plugin Updater
This is a simple plugin updater for WordPress plugins. It allows you to check for updates from the WPUpdateHub.com API and display a notice in the WordPress admin area when an update is available.
[!IMPORTANT] This plugin updater is designed to work with plugins hosted on WPUpdateHub.com. However you can use this to integrate the updater into your own plugin. Then all you need is to create a backend endpoint to check and serve the update.
Minimum requirements
- PHP: 8.0 or later
- WordPress: 6.0 or later
- Access to your plugin's source code.
- Optional: Composer for managing PHP dependencies
Installation
To integrate this updater into your plugin, you need to require it via Composer or copy the files into your plugin.
Via Composer
Manual
Copy the file in src
directory into your plugin. Then require the file in your plugin.
Usage
Instantiate the PluginUpdater
class within your plugin, providing it with the necessary configuration options. Here's a basic example you can adjust according to your needs:
Replace 'your-plugin-id'
with the actual ID provided to you by WPUpdateHub.com for your plugin.