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
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
License Active Status
License Deactive Status
License Expired Status
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_URLwhere 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
thewebsolver/tws-license-manager-client 适用场景与选型建议
thewebsolver/tws-license-manager-client 是一款 基于 PHP 开发的 Composer 扩展包,目前已累计 63 次下载、GitHub Stars 达 6, 最近一次更新时间为 2021 年 04 月 21 日, 在 PHP 生态内属于活跃度较高的组件。
它主要适用于以下技术方向: 「api」 「REST API」 「woocommerce」 「thewebsolver」 等业务场景。在实际项目中,围绕这些方向常见需要落地的问题包括:接口对接、性能调优、并发安全、与既有框架(Laravel / ThinkPHP / Yii / Webman 等)的兼容适配,以及生产环境的日志埋点与稳定性保障。
我们在过去多个企业项目中使用过 thewebsolver/tws-license-manager-client 或与其功能相近的方案,如果你在选型或落地过程中遇到问题,例如 版本兼容、二次改造、私有化封装、与内部系统对接、生产 BUG 排查,欢迎联系我们协助评估。
基于 thewebsolver/tws-license-manager-client 在你已有业务上做功能扩展、字段裁剪、UI 适配、与内部账号 / 权限 / 日志系统的深度对接。
线上偶发问题、内存泄漏、慢查询、并发异常等排查修复;针对高流量场景做缓存、队列、索引层面的调优。
承接完整的项目从需求 → 设计 → 开发 → 上线 → 长期运维;也可按月提供技术保姆服务。
与 thewebsolver/tws-license-manager-client 相关的其它包
同方向 / 同关键字的高下载量 PHP Composer 包推荐,方便对比选型:
A PSR-7 compatible library for making CRUD API endpoints
Api bundle
Paytrail is a payment gateway that offers 20+ payment methods for Finnish customers.
WooCommerce Rest API with Laravel
A Flickr wrapper to allow you to call the Flickr api with Guzzle as the backend.Goal is to have 100% Flickr api coverage rather than just upload/display photos (currently at 23%).
The Web Solver License Manager Server
统计信息
- 总下载量: 63
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 6
- 点击次数: 9
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: GPL-3.0-or-later
- 更新时间: 2021-04-21



