PHPackages                             developer-ekramul/license-guard - 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. [Security](/categories/security)
4. /
5. developer-ekramul/license-guard

ActiveLibrary[Security](/categories/security)

developer-ekramul/license-guard
===============================

Laravel License Guard package to protect your software

01PHP

Since Jul 17Pushed 10mo agoCompare

[ Source](https://github.com/haqueekramul/license-guard)[ Packagist](https://packagist.org/packages/developer-ekramul/license-guard)[ RSS](/packages/developer-ekramul-license-guard/feed)WikiDiscussions main Synced 1mo ago

READMEChangelogDependenciesVersions (1)Used By (0)

Laravel License Guard Package
=============================

[](#laravel-license-guard-package)

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

[](#installation)

1. Place this package inside your Laravel project:

```
your-laravel-project/
└── packages/
    └── ekram/
        └── license-guard/

```

2. Add to your root `composer.json`:

```
"repositories": [
    {
        "type": "path",
        "url": "./packages/ekram/license-guard"
    }
]
```

3. Run:

```
composer require ekram/license-guard
```

4. Add `.env` keys:

```
LICENSE_KEY=YOUR_LICENSE_KEY
LICENSE_API_URL=https://your-license-api.com/api/verify

```

5. Use middleware in your routes:

```
Route::middleware(['license.guard'])->group(function () {
    // Your protected routes
});
```

6. Use blade directive in views:

```
@canUse

@endcanUse
```

7. Run license check command:

```
php artisan license:check
```

---

License Verification API
------------------------

[](#license-verification-api)

Your API should accept POST request with:

- license\_key
- domain
- ip

and respond with:

```
{
    "status": "valid" // or "invalid"
}
```

---

License
-------

[](#license)

MIT

###  Health Score

15

—

LowBetter than 3% of packages

Maintenance39

Infrequent updates — may be unmaintained

Popularity1

Limited adoption so far

Community6

Small or concentrated contributor base

Maturity14

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://www.gravatar.com/avatar/d70b00000fb097c181adb285a93f97bc3a3d232cc047ba25a0fdacb169d55e96?d=identicon)[developerEkramul](/maintainers/developerEkramul)

---

Top Contributors

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

### Embed Badge

![Health badge](/badges/developer-ekramul-license-guard/health.svg)

```
[![Health](https://phpackages.com/badges/developer-ekramul-license-guard/health.svg)](https://phpackages.com/packages/developer-ekramul-license-guard)
```

###  Alternatives

[defuse/php-encryption

Secure PHP Encryption Library

3.9k162.4M214](/packages/defuse-php-encryption)[roave/security-advisories

Prevents installation of composer packages with known security vulnerabilities: no API, simply require it

2.9k97.3M6.4k](/packages/roave-security-advisories)[mews/purifier

Laravel 5/6/7/8/9/10 HtmlPurifier Package

2.0k16.7M113](/packages/mews-purifier)[robrichards/xmlseclibs

A PHP library for XML Security

41278.1M118](/packages/robrichards-xmlseclibs)[bjeavons/zxcvbn-php

Realistic password strength estimation PHP library based on Zxcvbn JS

86917.5M63](/packages/bjeavons-zxcvbn-php)[illuminate/encryption

The Illuminate Encryption package.

9229.7M280](/packages/illuminate-encryption)

PHPackages © 2026

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