thewebsolver/tws-license-manager-client 问题修复 & 功能扩展

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

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

thewebsolver/tws-license-manager-client

Composer 安装命令:

composer require thewebsolver/tws-license-manager-client

包简介

A PHP Wrapper for handling REST API for License Manager for WooCommerce

README 文档

README

GPL License LinkedIn

Logo

TWS License Manager Client

HANDLE PREMIUM PLUGIN LICENSES WITH YOUR OWN LICENSING SERVER BUILT ON WORDPRESS & WOOCOMMERCE

This plugin is to be included in the plugin being sold (client plugin) so user who purchase the plugin can easily activate/deactivate their license.

Installation (via Composer):

Inside client plugin

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

"require": {
	"thewebsolver/tws-license-manager-client": "dev-master"
}

Then from terminal, run:

$ composer install

On Server

License Manager for WooCommerce must be installed and activated on server WordPress installation for this client to interact, validate, activate/deactivate license.

Also, Server Manager must be used to activate/deactivate/validate/renew licenses.

License Form Screenshots:

License form was added as submenu of Settings menu.

License Not Activated Status

not active

License Active Status

active

License Deactive Status

inactive

License Expired Status

expired

Example Codes:

  • Server docs on License Manager and Server Manager.
  • CLIENT.md contains all the codes that will intialize license manager client, add submenu page to display activation/deactivation form and get response back from license manager server when valid data are submitted.

In brief, you must make changes to codes shown in CLIENT.md file:

  • Set server URL Client_Plugin::SERVER_URL where your license manager server is (License Manager for WooCommerce plugin is installed, and activated) and installed Server Manager as a plugin (composer method recommended),
  • Set parent menu slug Client_Plugin::PARENT_SLUG (or create your own menu/submenu page, which is the recommended way),
  • Set cunsumer key, consumer secret, validation fields and their error message inside method Client_Pligin::start() Generate them on server.

To test license key, there must be a valid license key generated on server with proper WooCommerce Checkout checkout and order status changed to completed.

Contact

----------------------------------
DEVELOPED-MAINTAINED-SUPPPORTED BY
----------------------------------
███║     ███╗   ████████████████
███║     ███║   ═════════██████╗
███║     ███║        ╔══█████═╝
 ████████████║      ╚═█████
███║═════███║      █████╗
███║     ███║    █████═╝
███║     ███║   ████████████████╗
╚═╝      ╚═╝    ═══════════════╝

Shesh Ghimire - @hsehszroc

统计信息

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

GitHub 信息

  • Stars: 6
  • Watchers: 2
  • Forks: 2
  • 开发语言: PHP

其他信息

  • 授权协议: GPL-3.0-or-later
  • 更新时间: 2021-04-21

承接程序开发

PHP开发

VUE

Vue开发

前端开发

小程序开发

公众号开发

系统定制

数据库设计

云部署

网站建设

安全加固