https://github.com/thewebsolver/tws-license-manager-client
The Web Solver License Manager Client extends the functionality of License Manager for WooCommerce. This plugin/framework is to be included inside the selling plugin for license activation/deactivation.
https://github.com/thewebsolver/tws-license-manager-client
client client-server framework license-manager plugin woocommerce wordpress
Last synced: 7 months ago
JSON representation
The Web Solver License Manager Client extends the functionality of License Manager for WooCommerce. This plugin/framework is to be included inside the selling plugin for license activation/deactivation.
- Host: GitHub
- URL: https://github.com/thewebsolver/tws-license-manager-client
- Owner: TheWebSolver
- License: gpl-3.0
- Created: 2021-04-21T07:19:43.000Z (almost 5 years ago)
- Default Branch: master
- Last Pushed: 2022-01-08T16:43:59.000Z (about 4 years ago)
- Last Synced: 2025-08-04T07:29:54.904Z (7 months ago)
- Topics: client, client-server, framework, license-manager, plugin, woocommerce, wordpress
- Language: PHP
- Homepage: https://github.com/TheWebSolver/tws-license-manager-client
- Size: 432 KB
- Stars: 6
- Watchers: 2
- Forks: 2
- Open Issues: 4
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
[![GPL License][license-shield]][license-url]
[![LinkedIn][linkedin-shield]][linkedin-url]
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:
```json
"require": {
"thewebsolver/tws-license-manager-client": "dev-master"
}
```
Then from terminal, run:
```sh
$ composer install
```
### On Server
[License Manager for WooCommerce][server-plugin] must be installed and activated on server WordPress installation for this client to interact, validate, activate/deactivate license.
Also, [Server Manager][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][not-activated]
### License Active Status
![active][active]
### License Deactive Status
![inactive][inactive]
### License Expired Status
![expired][expired]
## Example Codes:
- Server docs on [License Manager][server-docs] and [Server Manager][server-manager].
- [CLIENT.md](https://github.com/thewebsolver/tws-license-manager-client/blob/master/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][server-plugin] plugin is installed, and activated) and installed [Server Manager][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
```sh
----------------------------------
DEVELOPED-MAINTAINED-SUPPPORTED BY
----------------------------------
███║ ███╗ ████████████████
███║ ███║ ═════════██████╗
███║ ███║ ╔══█████═╝
████████████║ ╚═█████
███║═════███║ █████╗
███║ ███║ █████═╝
███║ ███║ ████████████████╗
╚═╝ ╚═╝ ═══════════════╝
```
Shesh Ghimire - [@hsehszroc](https://twitter.com/hsehszroc)
[license-shield]: https://www.gnu.org/graphics/gplv3-or-later-sm.png
[license-url]: https://github.com/TheWebSolver/repo/blob/master/LICENSE.txt
[linkedin-shield]: https://img.shields.io/badge/LinkedIn-blue?style=flat-square&logo=linkedin&color=blue
[linkedin-url]: https://www.linkedin.com/in/sheshgh/
[server-plugin]: https://wordpress.org/plugins/license-manager-for-woocommerce/
[server-docs]: https://www.licensemanager.at/docs/
[server-manager]: https://github.com/TheWebSolver/tws-license-manager-server
[not-activated]: Screenshots/status-not-active.png
[active]: Screenshots/status-active.png
[inactive]: Screenshots/status-inactive.png
[expired]: Screenshots/status-expired.png