PHPackages                             thewebsolver/tws-license-manager-client - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [API Development](/categories/api)
4. /
5. thewebsolver/tws-license-manager-client

ActiveLibrary[API Development](/categories/api)

thewebsolver/tws-license-manager-client
=======================================

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

2.2(4y ago)6632[4 issues](https://github.com/TheWebSolver/tws-license-manager-client/issues)GPL-3.0-or-laterPHP

Since May 4Pushed 4y ago2 watchersCompare

[ Source](https://github.com/TheWebSolver/tws-license-manager-client)[ Packagist](https://packagist.org/packages/thewebsolver/tws-license-manager-client)[ RSS](/packages/thewebsolver-tws-license-manager-client/feed)WikiDiscussions master Synced yesterday

READMEChangelog (5)DependenciesVersions (8)Used By (0)

[![GPL License](https://camo.githubusercontent.com/42aa83f6766665ced35459b40af0bced4446bf8d280f26158baf2542f47d9022/68747470733a2f2f7777772e676e752e6f72672f67726170686963732f67706c76332d6f722d6c617465722d736d2e706e67)](https://github.com/TheWebSolver/repo/blob/master/LICENSE.txt)[![LinkedIn](https://camo.githubusercontent.com/4a9b21dcb00c515dd02d1888eb884b662979bba1389ce8cf0e5436fd44ce41df/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f4c696e6b6564496e2d626c75653f7374796c653d666c61742d737175617265266c6f676f3d6c696e6b6564696e26636f6c6f723d626c7565)](https://www.linkedin.com/in/sheshgh/)

 [ ![Logo](Assets/logo.png) ](https://github.com/TheWebSolver/tws-license-manager-client)

TWS License Manager Client
==========================

[](#tws-license-manager-client)

HANDLE PREMIUM PLUGIN LICENSES WITH YOUR OWN LICENSING SERVER BUILT ON WORDPRESS &amp; 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):
----------------------------

[](#installation-via-composer)

### Inside client plugin

[](#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

[](#on-server)

[License Manager for WooCommerce](https://wordpress.org/plugins/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](https://github.com/TheWebSolver/tws-license-manager-server) must be used to activate/deactivate/validate/renew licenses.

License Form Screenshots:
-------------------------

[](#license-form-screenshots)

License form was added as submenu of ***Settings*** menu.

### License Not Activated Status

[](#license-not-activated-status)

[![not active](Screenshots/status-not-active.png)](Screenshots/status-not-active.png)

### License Active Status

[](#license-active-status)

[![active](Screenshots/status-active.png)](Screenshots/status-active.png)

### License Deactive Status

[](#license-deactive-status)

[![inactive](Screenshots/status-inactive.png)](Screenshots/status-inactive.png)

### License Expired Status

[](#license-expired-status)

[![expired](Screenshots/status-expired.png)](Screenshots/status-expired.png)

Example Codes:
--------------

[](#example-codes)

- Server docs on [License Manager](https://www.licensemanager.at/docs/) and [Server Manager](https://github.com/TheWebSolver/tws-license-manager-server).
- [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:
-------------------------------------------------------------------

[](#in-brief-you-must-make-changes-to-codes-shown-in-clientmd-file)

- Set server URL `Client_Plugin::SERVER_URL` where your license manager server is ([License Manager for WooCommerce](https://wordpress.org/plugins/license-manager-for-woocommerce/) plugin is installed, and activated) and installed [Server Manager](https://github.com/TheWebSolver/tws-license-manager-server) 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
-------

[](#contact)

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

Shesh Ghimire - [@hsehszroc](https://twitter.com/hsehszroc)

###  Health Score

25

—

LowBetter than 37% of packages

Maintenance7

Infrequent updates — may be unmaintained

Popularity15

Limited adoption so far

Community9

Small or concentrated contributor base

Maturity57

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 100% of commits — single point of failure

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

###  Release Activity

Cadence

Every ~62 days

Total

5

Last Release

1584d ago

Major Versions

1.1 → 2.02021-12-29

### Community

Maintainers

![](https://www.gravatar.com/avatar/6921441544aa2b10de561f0bc8a785365ed6932f709ead6a6f31d7e2290e4c8c?d=identicon)[hsehszroc](/maintainers/hsehszroc)

---

Top Contributors

[![hsehszroc](https://avatars.githubusercontent.com/u/48177731?v=4)](https://github.com/hsehszroc "hsehszroc (4 commits)")

---

Tags

clientclient-serverframeworklicense-managerpluginwoocommercewordpressapiREST APIwoocommercethewebsolver

### Embed Badge

![Health badge](/badges/thewebsolver-tws-license-manager-client/health.svg)

```
[![Health](https://phpackages.com/badges/thewebsolver-tws-license-manager-client/health.svg)](https://phpackages.com/packages/thewebsolver-tws-license-manager-client)
```

###  Alternatives

[wp-graphql/wp-graphql-woocommerce

WooCommerce bindings for WPGraphQL

69146.8k](/packages/wp-graphql-wp-graphql-woocommerce)[gdebrauwer/laravel-hateoas

Expose the authorization logic of your REST API using HATEOAS links on your Laravel API resources

17389.4k](/packages/gdebrauwer-laravel-hateoas)[shahghasiadil/laravel-api-versioning

Elegant attribute-based API versioning solution for Laravel applications with built-in deprecation management and version inheritance

2913.6k](/packages/shahghasiadil-laravel-api-versioning)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
