thewebsolver / tws-license-manager-server
The Web Solver License Manager Server
Requires
- aws/aws-sdk-php: ^3.180
- thewebsolver/tws-setting-framework: dev-codegarage
This package is auto-updated.
Last update: 2025-01-08 22:54:54 UTC
README
HANDLE PREMIUM PLUGIN LICENSES WITH YOUR OWN LICENSING SERVER BUILT ON WORDPRESS & WOOCOMMERCE
This plugin is to be installed on WordPress Server where License Manager for WooCommerce is installed.
Installation (via Composer):
Generate required files
-
Create a folder (name it as you like, for eg. server).
-
Copy files located inside Config folder into the folder you created above.
-
Then from terminal, navigate to the above folder and run:
$ composer install
-
Composer will generate required files.
Activation
- Create a zip file from the folder created on installation process (for eg. server.zip).
- Upload the zip file to the plugin's directory on your server installation.
- Activate and manage your licenses.
Modify LMFWC
In order for this plugin to work properly, a change needs to be made to the file in License Manager for WooCommerce
plugin (until this feature is added to core).
- Inside folder
Bin
, there is a file namedLicenses.php
. It is the core file of License Manager for WooCommerce plugin which is a modified version. - The modification is done on method
LicenseManagerForWooCommerce\API\v2\Licenses::hasLicenseExpired()
so expired license is handled properly. - Replace the file
license-manager-for-woocommerce\includes\api\v2\Licenses.php
inside plugin License Manager for WooCommerce with the file inside the Bin folder.
Everything show properly work now!
More Documentation coming soon...