Download the PHP package wplatest/updater without Composer

On this page you can find all versions of the php package wplatest/updater. 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 updater

WordPress Plugin Updater

A simple and lightweight updater for WordPress plugins hosted on AutomagicWP. It hooks into WordPress's built-in update mechanism to check for new versions and display the standard update notice in the admin area.

[!IMPORTANT] This updater requires your plugin to be hosted on AutomagicWP.com. Your plugin header must include Update URI: https://www.automagicwp.com.

Minimum requirements

Installation

Via Composer

Manual

Copy the file in src/ into your plugin and require it:

Usage

Instantiate PluginUpdater inside your plugin. The defaults point at automagicwp.com so you only need to provide file and id for the standard setup:

All options

Option Required Default Description
file Yes Path to the main plugin file (__FILE__)
id Yes Plugin ID from the AutomagicWP dashboard
secret No API key or license key. Required for private plugins and white-label branding.
api_url No https://www.automagicwp.com/api/v1/plugin/update Update check endpoint
config_url No https://www.automagicwp.com/api/v1/plugin/config Branding config endpoint
hostname No automagicwp.com Must match the Update URI header
telemetry No true Send anonymous site info (WP version, PHP version) with update checks

Replace plugin_abc123 with the Plugin ID shown in your AutomagicWP dashboard under Settings.


White-label branding

Agencies distributing a single plugin to multiple client sites can create licenses in the AutomagicWP dashboard (Settings → White-label Licenses). Each license has:

Fetching branding config

Pass the license key as the secret option, then call get_config() anywhere in your plugin:

Response shape

All fields are nullable — always provide defaults in your plugin code.

Caching

get_config() caches the response in a WordPress transient for 5 minutes to avoid a remote call on every admin page load. To force a fresh fetch (e.g. after saving a settings page):

Providing a license key settings field

Your plugin's settings page should let the site owner paste their license key:


All versions of updater with dependencies

PHP Build Version
Package Version
Requires php Version ^8.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 wplatest/updater contains the following files

Loading the files please wait ...