lapisense/wordpress-client

WordPress client for the Lapisense licensing API

Maintainers

Package info

github.com/Lapisense/lapisense-wordpress-client

pkg:composer/lapisense/wordpress-client

Statistics

Installs: 6

Dependents: 0

Suggesters: 0

Stars: 0

Open Issues: 0

0.1.0 2026-03-11 14:07 UTC

This package is auto-updated.

Last update: 2026-03-11 14:30:21 UTC


README

WordPress integration for the Lapisense licensing API. Provides automatic update checking for plugins and themes, license activation, and product info display. Built on top of lapisense/php-client.

Requirements

  • PHP 7.4+
  • WordPress 5.8+

Installation

composer require lapisense/wordpress-client

Usage

use Lapisense\WordPressClient\Client;

// Licensed product
$lapisense = Client::init([
    'store_url'    => 'https://store.example.com',
    'product_uuid' => 'f47ac10b-58cc-4372-a567-0e02b2c3d479',
    'product_type' => 'plugin', // or 'theme'
    'file'         => __FILE__,
]);

$lapisense->activate($licenseKey);
$lapisense->deactivate();
$lapisense->isActivated();
$lapisense->getActivationStatus();

License

GPL-2.0-or-later