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

ActiveLibrary

nerdtech/license-manager
========================

Zero-Touch Domain-Based License checking system

011↑2627.3%PHP

Since Aug 24Pushed todayCompare

[ Source](https://github.com/MGPathum/nerdtech-license-manager)[ Packagist](https://packagist.org/packages/nerdtech/license-manager)[ RSS](/packages/nerdtech-license-manager/feed)WikiDiscussions main Synced today

READMEChangelogDependenciesVersions (1)Used By (0)

NerdTech License Manager
========================

[](#nerdtech-license-manager)

**Zero-Touch Domain-Based SaaS Licensing Package for Laravel**

[![Latest Version on Packagist](https://camo.githubusercontent.com/3f18496c86be3acc553420e6112d3408fd97e3343dbe8562f0230951e4e89c74/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f6e657264746563682f6c6963656e73652d6d616e616765722e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/nerdtech/license-manager)[![Total Downloads](https://camo.githubusercontent.com/eb6b4c1ac8c653f84e45415377ab866b80c622e47aae4c6daa3802c9dbb1e758/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f6e657264746563682f6c6963656e73652d6d616e616765722e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/nerdtech/license-manager)[![License](https://camo.githubusercontent.com/c58489af16f030ec513edafeb597e79fe1b9404a434d532924632517cbc1e180/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f6c2f6e657264746563682f6c6963656e73652d6d616e616765722e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/nerdtech/license-manager)

The **NerdTech License Manager** is a lightweight, drop-in Laravel package designed to seamlessly validate your SaaS application's licenses across different domains. It provides a robust and fail-safe middleware that automatically checks the current domain against your central license server.

✨ Key Features
--------------

[](#-key-features)

- **Zero-Touch Integration**: Simply install the package, and the license validation middleware is automatically injected into your web routes. No manual route modifications required!
- **Domain-Based Validation**: Authenticates licenses based on the host domain requesting access, perfect for multi-tenant and white-labeled SaaS environments.
- **Fail-Safe API Connection**: Gracefully handles API timeouts and connection failures. If the license server is unreachable, the application continues to run without interruption, ensuring maximum uptime for your users.
- **Easy Configuration**: Publish the config and set a single environment variable to get started.

🚀 Installation
--------------

[](#-installation)

You can install the package via composer:

```
composer require nerdtech/license-manager
```

⚙️ Usage &amp; Configuration
----------------------------

[](#️-usage--configuration)

Once installed, publish the configuration file to customize the package settings:

```
php artisan vendor:publish --provider="NerdTech\LicenseManager\LicenseManagerServiceProvider" --tag="config"
```

This will create a `config/license-manager.php` file in your application.

Next, define your central license server URL in your application's `.env` file:

```
NERDTECH_LICENSE_SERVER_URL=https://your-central-license-server.com
```

### How it works

[](#how-it-works)

The package automatically registers the `VerifyLicense` middleware to your application's `web` middleware group.

On every request, the middleware extracts the current domain and sends a verification request to your configured `NERDTECH_LICENSE_SERVER_URL`.

- If the license server responds with an invalid status, the user receives an abort response.
- If the license server is unreachable or times out, the middleware acts in a **fail-safe** manner, allowing the request to proceed so your application remains accessible.

🛡️ Security
-----------

[](#️-security)

If you discover any security related issues, please email  instead of using the issue tracker.

📄 License
---------

[](#-license)

The MIT License (MIT). Please see [License File](LICENSE.md) for more information.

###  Health Score

23

—

LowBetter than 25% of packages

Maintenance65

Regular maintenance activity

Popularity7

Limited adoption so far

Community6

Small or concentrated contributor base

Maturity11

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.

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/185157538?v=4)[M G Pathum Kaushallaya](/maintainers/MGPathum)[@MGPathum](https://github.com/MGPathum)

---

Top Contributors

[![MGPathum](https://avatars.githubusercontent.com/u/185157538?v=4)](https://github.com/MGPathum "MGPathum (8 commits)")

### Embed Badge

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

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

PHPackages © 2026

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