Introduction
License Server is an open-source license verification service developed by WenPai, designed to provide license validation, activation management, and version control for WordPress plugins and themes.
Core Features
- License Validation: Supports both online and offline license validation
- Multi-Site Management: A single license can be used across multiple sites (with configurable usage limits)
- Version Control: Integrated with update distribution systems—only licensed users can access updates
Usage Steps
1. Deploy License Server
Compile and deploy the server using Go.
2. Configure Environment Variables
Set database connection details, API Key, and JWT Secret.
3. Integrate Client in Your Plugin
Refer to class-wenpai-license.php in the WPBridge project for implementation guidance.
4. Create Licenses
Create licenses via the admin dashboard or REST API.
Frequently Asked Questions (FAQ)
Q: Can users continue using the plugin after their license expires?
A: Yes—the core functionality remains available, but users cannot download updates.
Q: Is WooCommerce integration supported?
A: Yes—through the WPBridge ecosystem, licenses can be automatically linked to WooCommerce order records.
Related Resources
- Repository: https://feicode.com/WenPai-org/license-server
- Discussion & Feedback: Please reply to this post