PHPackages                             lapisense/php-client - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [API Development](/categories/api)
4. /
5. lapisense/php-client

ActiveLibrary[API Development](/categories/api)

lapisense/php-client
====================

Generic PHP client for the Lapisense licensing API

0.3.0(1mo ago)1122—3.6%1MITPHPPHP &gt;=7.4CI passing

Since Mar 2Pushed 1mo agoCompare

[ Source](https://github.com/Lapisense/lapisense-php-client)[ Packagist](https://packagist.org/packages/lapisense/php-client)[ RSS](/packages/lapisense-php-client/feed)WikiDiscussions main Synced 1mo ago

READMEChangelog (3)Dependencies (6)Versions (4)Used By (1)

Lapisense PHP Client [![Latest Stable Version](https://camo.githubusercontent.com/f568940c8c3167557af17d517f32ac32b9129e085acf97bf10217f93c91a0592/68747470733a2f2f706f7365722e707567782e6f72672f6c61706973656e73652f7068702d636c69656e742f762f737461626c652e737667)](https://packagist.org/packages/lapisense/php-client) [![License](https://camo.githubusercontent.com/ba629092597f04daf0d790cd9898f0eea5a88acf890f72f3617a81c10969c31f/68747470733a2f2f706f7365722e707567782e6f72672f6c61706973656e73652f7068702d636c69656e742f6c6963656e73652e737667)](https://packagist.org/packages/lapisense/lapisense-php-client) [![Total Downloads](https://camo.githubusercontent.com/f88224d6721e28fd06b75292a2b5a3fc094084b34fca7edaa87dc734ab7e036a/68747470733a2f2f706f7365722e707567782e6f72672f6c61706973656e73652f7068702d636c69656e742f646f776e6c6f616473)](//packagist.org/packages/lapisense/php-client)
==============================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================

[](#lapisense-php-client---)

Generic PHP client for the Lapisense licensing REST API. Framework-agnostic — requires an `HttpClientInterface` implementation for HTTP transport.

Requirements
------------

[](#requirements)

- PHP 7.4+

Installation
------------

[](#installation)

```
composer require lapisense/php-client
```

Usage
-----

[](#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](https://github.com/Lapisense/lapisense-wordpress-client) for a WordPress implementation.

License
-------

[](#license)

MIT

###  Health Score

36

—

LowBetter than 82% of packages

Maintenance89

Actively maintained with recent releases

Popularity16

Limited adoption so far

Community8

Small or concentrated contributor base

Maturity26

Early-stage or recently created project

 Bus Factor1

Top contributor holds 100% of commits — single point of failure

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

###  Release Activity

Cadence

Every ~7 days

Total

3

Last Release

55d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/d00204cdec246a03020dc6b99010a5d80e2557ba2fc3197c10c76589054fd45d?d=identicon)[coenjacobs](/maintainers/coenjacobs)

---

Top Contributors

[![coenjacobs](https://avatars.githubusercontent.com/u/245703?v=4)](https://github.com/coenjacobs "coenjacobs (19 commits)")

###  Code Quality

TestsPHPUnit

Static AnalysisPHPStan

Code StylePHP\_CodeSniffer

Type Coverage Yes

### Embed Badge

![Health badge](/badges/lapisense-php-client/health.svg)

```
[![Health](https://phpackages.com/badges/lapisense-php-client/health.svg)](https://phpackages.com/packages/lapisense-php-client)
```

###  Alternatives

[stripe/stripe-php

Stripe PHP Library

4.0k143.3M479](/packages/stripe-stripe-php)[twilio/sdk

A PHP wrapper for Twilio's API

1.6k92.9M271](/packages/twilio-sdk)[knplabs/github-api

GitHub API v3 client

2.2k15.8M187](/packages/knplabs-github-api)[facebook/php-business-sdk

PHP SDK for Facebook Business

90121.9M34](/packages/facebook-php-business-sdk)[meilisearch/meilisearch-php

PHP wrapper for the Meilisearch API

73813.7M114](/packages/meilisearch-meilisearch-php)[google/gax

Google API Core for PHP

263103.1M454](/packages/google-gax)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
