Download the PHP package lexo/plugin-updater without Composer
On this page you can find all versions of the php package lexo/plugin-updater. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Please rate this library. Is it a good library?
Informations about the package plugin-updater
Plugin updater
WordPress plugin updater for self-hosted plugins.
Versioning
Release tags are created with Semantic versioning in mind. Commit messages were following convention of Conventional Commits.
Compatibility
- WordPress version
>=4.7
. Tested and works fine up to6.3.2
. - PHP version
>=7.4.1
. Tested and works fine up to8.2.10
.
Installation
Default values
Setter methods
All methods are chainable. At th end call run()
method.
-
setBasename(string $basename): PluginUpdater
-
setSlug(string $slug): PluginUpdater
-
setVersion(string $version): PluginUpdater
-
setRemotePath(string $remote_path): PluginUpdater
-
setRemoteArgs(array $remote_args): PluginUpdater
-
setCacheKey(string $cache_key): PluginUpdater
-
setCacheExpiration(float $cache_expiration): PluginUpdater
-
setCache(bool $cache): PluginUpdater
Usage example
JSON file
The file info.json
can be called however you like but it need to be a valid JSON file. It's structure should be like this:
Filters
- {slug}/plugin_sections
Parameters
- $args (array) Sections which will be used in update info popup.
All versions of plugin-updater with dependencies
PHP Build Version
Package Version
Requires
php Version
>=7.4.1
The package lexo/plugin-updater contains the following files
Loading the files please wait ....