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

11PHP

Since Jul 17Pushed 11mo 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 today

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

Maintenance37

Infrequent updates — may be unmaintained

Popularity3

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

[mews/purifier

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

2.0k18.7M142](/packages/mews-purifier)[paragonie/ecc

PHP Elliptic Curve Cryptography library

24820.0k37](/packages/paragonie-ecc)

PHPackages © 2026

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