Skip to content

Repository files navigation

EDD Software License Manager

PHP from PackagistLatest Stable VersionTotal DownloadsLicenseBuild Statuscodecov

A PHP class abstraction for managing WordPress plugin licenses and auto-updates that are sold on an Easy Digital Downloads store.

Package Installation (via Composer)

To install this package, edit your composer.json file:

{
"require": {
"dwnload/edd-software-license-manager": "^2.3"
}
}

Or run:

$ composer require dwnload/edd-software-license-manager

How to use this package

useDwnload\EddSoftwareLicenseManager\Edd\License;
$data = [
'api_url' => 'https://frosty.media/',
'license' => License::getLicenseKey($plugin_id),
'item_name' => 'Custom Login Style Pack #1', // Name of this plugin (matching your EDD Download title).'author' => 'Frosty Media',
'item_id' => (int),
'version' => '1.0.0',
];
\TheFrosty\WpUtilities\Plugin\Plugin$plugin
->add(newEdd\LicenseManager($plugin, $data))
->add(newEdd\PluginUpdater($data['api_url'], __FILE__, $data))
->initialize();

About

[WIP] A PHP class abstraction for managing WordPress plugin licenses and auto-updates that are sold on an Easy Digital Downloads store.

Topics

Resources

Stars

6 stars

Watchers

1 watching

Forks

Releases

Used by

Contributors

Languages