-
-
Notifications
You must be signed in to change notification settings - Fork 29
Home
SLM Plus is a robust license management API integration for WordPress, allowing developers to securely manage software licenses within their own applications or themes. This solution is designed to provide flexibility, security, and ease of integration, enabling your applications to validate, activate, deactivate, and retrieve detailed information on user licenses.
- License Creation: Automatically create licenses for new purchases or registrations.
- License Activation: Securely activate licenses for specific domains or devices.
- License Deactivation: Allow users to free up licenses by deactivating them from domains or devices.
- License Status Check: Easily verify the current status of a license.
- Detailed License Information Retrieval: Retrieve comprehensive information on license usage, including registered domains and devices.
This project contains a set of PHP files and a core configuration file that together provide a simple, modular approach for integrating with the SLM Plus WordPress plugin. The core components include:
- CoreConfig.php: Contains global settings, constants, and utility methods for API requests and responses.
- LicenseAPI.php: Acts as an API wrapper with methods for each license management action.
-
Action Files:
-
CreateLicense.php
: Creates a new license. -
ActivateLicense.php
: Activates a license for a domain or device. -
DeactivateLicense.php
: Deactivates a license from a domain or device. -
CheckLicense.php
: Checks the status of a license. -
GetLicenseInfo.php
: Retrieves detailed license information.
-
Each action file includes code to make API calls using LicenseAPI.php
, process responses, and provide clear, actionable feedback to users.
- PHP 7.4 or higher
- cURL enabled in PHP
- WordPress with SLM Plus plugin installed and configured
- Clone or download this repository.
- Make sure all required PHP files are in the same directory.
- Edit
CoreConfig.php
to set your API URL and secret key. - Follow the individual action guides below for integrating each license management feature into your application.
To get started with SLM Plus, see our guides.
Contributions are welcome! Please open an issue or submit a pull request for bug fixes, enhancements, or new features.
For questions or support, reach out to us via the Issues section of this repository.
Updated and maintained by Epikly