Download the PHP package matthiasweb/wordpress-plugin-updater without Composer

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

wordpress-plugin-updater

The WordPress Plugin Integration for the WordPress License Server.

Preamble

This is a forked repository of the original code of Capevace/wordpress-plugin-updater. This forked repository is also published to packagist so it can be installed through composer. Please note the npm script npm run replace that replaces the original smoolabs/Capevace namespaces with MatthiasWeb to avoid namespace conflicts. The Thanks goes to Capevace (original author), this repository simply adds some modifications to meet the needs for MatthiasWeb plugins.

Usage

There's two ways you can integrate this and enable automatic updates for your own plugin.

Using Composer

If you're already using Composer, you'll know what to do.

If not, you'll need to install Composer on your computer and run composer init. This will initialize composer in your packages root.

Once that is complete, run this:

Composer will then install the integration into the folder.

To include the plugin files now, simply include the file.

Without Composer

Download this repository as a .zip file and extract it somewhere into your plugin files. Then just include the file.

Setup

There's only one thing you'll need to do, to enable the integration once you've included it into your project.

In your plugins main file, paste this code:

Now, replace Example Plugin Name with your plugins name, http://update-server-url.com with the URL where you hosted the update server, my-example-plugin with your plugin slug (for example the plugin folders name) and 1.0.0 with your current plugins version.

That's all you have to do! The plugin will now receive automatic updates once you make them available on your server (of course, only if the user supplied a license)!

Disabling functionality until License is entered

You may want to stop your buyers from using your plugin until they have entered their licenses. You can easily disable functionality like this:

Please make sure that this complies with Envato's rules on locking fieatures behind licenses! The plugin may not be accepted otherwise.

Enable newsletter functionality

You can create an extra input so the user has to enter an email address. There is an additionally checkbox which can optionally be checked so the user gets newsletters.

You have to add the config argument newsletterPrivacy with the link to your privacy page. If the user agrees to that the following action is fired:


All versions of wordpress-plugin-updater with dependencies

PHP Build Version
Package Version
No informations.
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 matthiasweb/wordpress-plugin-updater contains the following files

Loading the files please wait ....