licensemanager/license-manager-for-woocommerce-pro-sdk-php

Professional framework-agnostic PHP SDK for managing and integrating License Manager for WooCommerce (Pro) into SaaS, CMS, and standalone software.

Maintainers

Package info

github.com/wpexpertsio/License-Manager-for-WooCommerce-Pro-SDK-PHP

pkg:composer/licensemanager/license-manager-for-woocommerce-pro-sdk-php

Statistics

Installs: 0

Dependents: 0

Suggesters: 0

Stars: 0

Open Issues: 0

dev-main 2026-04-14 06:50 UTC

This package is not auto-updated.

Last update: 2026-04-15 05:12:11 UTC


README

The Ultimate PHP Licensing Engine for SaaS, CMS, and Custom Software. Stop building custom Licensing APIs. This framework-agnostic SDK is the enterprise-grade bridge between your application and your License Manager for WooCommerce (Pro) backend.

SDK Version Platform Commercial

πŸš€ Accelerate Your Software Monetization

If you are building a SaaS or selling custom software, your focus should be on your productβ€”not building complex REST API integrations for licensing.

This SDK provides 100% native coverage of all endpoints in the License Manager for WooCommerce (Pro) ecosystem. Integrate robust activation, validation, and update management into your software in minutes.

πŸ›‘οΈ Why Choose This SDK?

  • Zero API Manual Coding: Every endpoint is mapped to a simple PHP method.
  • Framework Agnostic: Pure PHP cURL implementation. Works perfectly in Laravel, CodeIgniter, WordPress, or any custom standalone application.
  • Enterprise Ready: Designed to handle high-volume license generation and multi-tier SaaS fulfillment.
  • Data Sovereignty: Keep 100% of your customer data and revenue. No third-party commissions.

πŸ’Ž Professional API Support Matrix

This SDK provides 100% native coverage for every endpoint in the License Manager for WooCommerce (Pro) ecosystem. No more manual cURL requests.

πŸ”‘ core Licensing

Feature SDK Method API Endpoint
List Licenses $client->licenses()->list() GET /licenses
Retrieve License $client->licenses()->get($key) GET /licenses/{key}
Create License $client->licenses()->create($data) POST /licenses
Update License $client->licenses()->update($key, $data) PUT /licenses/{key}
Delete License $client->licenses()->delete($key) DELETE /licenses/{key}
Activate License $client->licenses()->activate($key) GET /activate/{key}
Reactivate License $client->licenses()->reactivate($key, $token) GET /activate/{key}
Deactivate License $client->licenses()->deactivate($key) GET /deactivate/{key}
Validate License $client->licenses()->validate($key) GET /validate/{key}

βš™οΈ License Generators

Feature SDK Method API Endpoint
List Generators $client->generators()->list() GET /generators
Retrieve Generator $client->generators()->get($id) GET /generators/{id}
Create Generator $client->generators()->create($data) POST /generators
Update Generator $client->generators()->update($id, $data) PUT /generators/{id}
Delete Generator $client->generators()->delete($id) DELETE /generators/{id}
Generate Keys (Pro) $client->generators()->generate($id, $data) POST /generators/{id}/generate

πŸš€ Merchant & SaaS (Pro)

Feature SDK Method API Endpoint
Customer Licenses $client->customers()->getLicenses($id) GET /customers/{id}/licenses
Products/Ping $client->products()->ping($data) POST /products/ping
Products/Update $client->products()->update($key) GET /products/update/{key}
Download Products $client->products()->downloadUrl($key) GET /products/download/latest/{key}
Retrieve Application $client->applications()->get($id) GET /application/{id}
Download Application $client->applications()->downloadUrl($id, $token) GET /application/{id}/download

πŸ’Ž The Revenue Model: Free SDK + Pro Engine

The SDK is your "Client Side" tool to be bundled with your software. To serve as the merchant backend, you must have the Pro Engine.

Phase Client SDK (This Free Repo) Pro Engine (Your WooCommerce Store)
Purpose Connects your software to your store. Handles orders, payments, and keys.
Availability Free for all developers. Purchase Required Here

πŸ“¦ 3-Minute Developer Quick Start

Step 1: Upload the SDK

Copy the lmw-client-sdk folder into your project's vendor directory. Your file structure should look like this:

your-software/
β”œβ”€β”€ vendor/
β”‚   └── lmw-client-sdk/
β”‚       β”œβ”€β”€ lmw-sdk.php (Entry File)
β”‚       β”œβ”€β”€ src/       (Core Logic)
β”‚       └── images/    (Assets)
β”œβ”€β”€ includes/
└── your-main-file.php

Step 2: Initialization

Require the entry point and initialize the client:

require_once __DIR__ . '/vendor/lmw-client-sdk/lmw-sdk.php';

$client = lmw_sdk_init([
    'store_url'       => 'https://your-store.com',
    'consumer_key'    => 'ck_xxxxxxxxxxxx',
    'consumer_secret' => 'cs_xxxxxxxxxxxx',
]);

3. Basic Activation Pattern

try {
    $result = $client->licenses()->activate( 'ABCD-1234-EFGH-5678' );
    // Store $result->activationData->token for future validation
} catch ( \Exception $e ) {
    echo "Error: " . $e->getMessage();
}

πŸ—οΈ Framework Integration

Laravel

Use the SDK in your Service Layer or Controllers. Store credentials in .env and initialize the LicenseManagerClient using the native autoloader.

CodeIgniter / Standalone

Place the folder in your ThirdParty or Libraries directory and require lmw-sdk.php.

πŸš€ Get the Pro Merchant Engine Today

Unlock 100% of the SDK's power by upgrading to the Pro edition of License Manager for WooCommerce.

Buy License Manager for WooCommerce Pro

Live Demo β€’ Official Documentation β€’ Premium Support

Standard for Modern Software Monetization. Pure PHP. 0% Commission. Total Control.