makeweb/edd-software-licensing-updater 问题修复 & 功能扩展

解决BUG、新增功能、兼容多环境部署,快速响应你的开发需求

邮箱:yvsm@zunyunkeji.com | QQ:316430983 | 微信:yvsm316

makeweb/edd-software-licensing-updater

Composer 安装命令:

composer require makeweb/edd-software-licensing-updater

包简介

README 文档

README

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

Installation

Install with composer via the command line.

Composer

If you don't have composer you can get it here.

Install with Composer

From the root of your project type:

composer require makeweb/edd-software-licensing-updater

Easy Digital Downloads - Software Licensing Extension

You will also need to have a server running an instance of Easy Digital Downloads Software Licensing.

Usage

Make sure you're including the composer autoloader in your main plugin file:

require (__DIR__.'/vendor/autoload.php');

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.

Add the following to your main plugin file to boot the plugin updater.

/**
 * 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.

统计信息

  • 总下载量: 24
  • 月度下载量: 0
  • 日度下载量: 0
  • 收藏数: 0
  • 点击次数: 12
  • 依赖项目数: 0
  • 推荐数: 0

GitHub 信息

  • Stars: 0
  • Watchers: 1
  • Forks: 0
  • 开发语言: PHP

其他信息

  • 授权协议: Unknown
  • 更新时间: 2017-05-31

承接程序开发

PHP开发

VUE

Vue开发

前端开发

小程序开发

公众号开发

系统定制

数据库设计

云部署

网站建设

安全加固