lapisense / wordpress-client
WordPress client for the Lapisense licensing API
Package info
github.com/Lapisense/lapisense-wordpress-client
pkg:composer/lapisense/wordpress-client
0.1.0
2026-03-11 14:07 UTC
Requires
- php: >=7.4
- lapisense/php-client: ^0.2 || ^1.0
Requires (Dev)
- brain/monkey: ^2.7
- dealerdirect/phpcodesniffer-composer-installer: ^1.2
- phpcompatibility/php-compatibility: ^9.3
- phpmd/phpmd: ^2.15
- phpstan/phpstan: ^1.10
- phpunit/phpunit: ^9.6
- squizlabs/php_codesniffer: ^3.13
- szepeviktor/phpstan-wordpress: ^1.3
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