Introduction
License Server is WenPai’s open-source license validation server, designed to provide license verification, 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.
Getting Started
1. Deploy the License Server
Compile and deploy it to your server using Go.
2. Configure Environment Variables
Set up database connection details, API key, and JWT secret.
3. Integrate the Client in Your Plugin
Refer to class-wenpai-license.php in WPBridge for implementation guidance.
4. Create Licenses
Create licenses via the admin dashboard or REST API.
Frequently Asked Questions (FAQ)
Q: Can users still use the plugin after their license expires?
A: Yes—the core functionality remains available, but updates are disabled.
Q: Does it support WooCommerce integration?
A: Yes—via the WPBridge ecosystem, licenses can be automatically linked to WooCommerce order data.
Related Resources
- Repository: 菲码 FeiCode · 安全验证
- Discussion & Feedback: Please reply to this post