PHPackages                             mhshujon/license-manager - 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. mhshujon/license-manager

ActiveLibrary

mhshujon/license-manager
========================

A license manager library designed to seamlessly handle licensing APIs for both WooCommerce (WC) and Easy Digital Downloads (EDD). This library is intended to use in a WordPress environment only.

v1.0.1(2y ago)0105MITPHPPHP &gt;=7.4

Since Mar 26Pushed 2y ago1 watchersCompare

[ Source](https://github.com/mhshujon/license-manager)[ Packagist](https://packagist.org/packages/mhshujon/license-manager)[ RSS](/packages/mhshujon-license-manager/feed)WikiDiscussions master Synced 1mo ago

READMEChangelog (2)DependenciesVersions (3)Used By (0)

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

[](#installation)

Install the SDK via composer with the following command

Package URL:

```
composer require mhshujon/license-manager

```

How to use?
-----------

[](#how-to-use)

> Easy Digital Downloads (EDD)
>
> > Validate your license

```
$license_manager = new \mhshujon\LicenseManager\EDD\EDDLicenseManager(
    'action', // Check https://easydigitaldownloads.com/docs/software-licensing-api/ for action list
    'item-id', // Check https://easydigitaldownloads.com/docs/software-licensing-api/
    'license-key',
    'product-title',
    'license-server-host-url'
);
$license_manager->validate_license();
$response = $license_manager->get_response();

```

> Easy Digital Downloads (EDD)
>
> > Get plugin update

```
// retrieve our license key from the DB
$license_key = trim( get_option( 'edd_sample_license_key' ) );

// setup the updater
$edd_updater = new \mhshujon\LicenseManager\EDD\PluginUpdater(
    'version' 	=> '1.0',   // current plugin version number
    'license' 	=> $license_key,    // license key (used get_option above to retrieve from DB)
    'item_id'   => EDD_SAMPLE_ITEM_ID,  // id of this plugin
    'author' 	=> 'Author Name',   // author of this plugin
    'beta'      => false    // set to true if you wish customers to receive update notifications of beta releases
);

```

###  Health Score

21

—

LowBetter than 19% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity9

Limited adoption so far

Community4

Small or concentrated contributor base

Maturity42

Maturing project, gaining track record

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 ~21 days

Total

2

Last Release

756d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/97f57d63bbe4932f14a7045c5071b9e7a821ac2c9cf61e52ae1aac9b34712d91?d=identicon)[mhshujon](/maintainers/mhshujon)

### Embed Badge

![Health badge](/badges/mhshujon-license-manager/health.svg)

```
[![Health](https://phpackages.com/badges/mhshujon-license-manager/health.svg)](https://phpackages.com/packages/mhshujon-license-manager)
```

PHPackages © 2026

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