lapisense/php-client
最新稳定版本:0.3.0
Composer 安装命令:
composer require lapisense/php-client
包简介
Generic PHP client for the Lapisense licensing API
README 文档
README
Generic PHP client for the Lapisense licensing REST API. Framework-agnostic — requires an HttpClientInterface implementation for HTTP transport.
Requirements
- PHP 7.4+
Installation
composer require lapisense/php-client
Usage
use Lapisense\PHPClient\ApiClient; $client = new ApiClient($storeUrl, $productUuid, $httpClient); $client->activate($licenseKey, $siteUrl); $client->deactivate($activationUuid); $client->checkUpdate($currentVersion); // free product $client->checkUpdate($currentVersion, $activationUuid); // licensed product $client->getProductInfo();
The $httpClient parameter must implement Lapisense\PHPClient\HttpClientInterface. See lapisense/wordpress-client for a WordPress implementation.
License
MIT
统计信息
- 总下载量: 144
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 1
- 点击次数: 5
- 依赖项目数: 1
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2026-03-02