2017 © Pedro Peláez
 

library edd-software-licensing-updater

image

makeweb/edd-software-licensing-updater

  • Tuesday, June 6, 2017
  • by MakeWeb
  • Repository
  • 1 Watchers
  • 0 Stars
  • 15 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 0 Forks
  • 0 Open issues
  • 3 Versions
  • 7 % Grown

The README.md

MakeWeb Easy Digital Downloads Software Licensing Updater

Make your plugin or theme updatable with EDD Software Licensing. Based on the example code provided by @pippinsplugins, (*1)

Installation

Install with composer via the command line., (*2)

Composer

If you don't have composer you can get it here., (*3)

Install with Composer

From the root of your project type:, (*4)

composer require makeweb/edd-software-licensing-updater, (*5)

Easy Digital Downloads - Software Licensing Extension

You will also need to have a server running an instance of Easy Digital Downloads Software Licensing., (*6)

Usage

Make sure you're including the composer autoloader in your main plugin file:, (*7)

require (__DIR__.'/vendor/autoload.php');, (*8)

This tells PHP where to look for the classes which the package requires so you don't have to write include/require statements for every php file., (*9)

Add the following to your main plugin file to boot the plugin updater., (*10)

/**
 * Boot plugin update
 **/
(new \MakeWeb\EDDSoftwareLicensingUpdater\Updater)
    ->setHostUrl('https://my-server-running-eddsl.com')
    ->setName('My Plugin')
    ->setPluginFilePath(__FILE__)
    ->setVersion('1.0.0')
    ->setLicenseKey($licenseKey)
    ->register();

Make sure you set the value of $licenseKey to the license key generated by a purchase in EDD., (*11)

The Versions

06/06 2017

dev-master

9999999-dev

  Sources   Download

The Development Requires

31/05 2017

1.0.1

1.0.1.0

  Sources   Download

The Development Requires

31/05 2017

1.0.0

1.0.0.0

  Sources   Download

The Development Requires