PHPackages                             emanate/nyundo - 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. [Utility &amp; Helpers](/categories/utility)
4. /
5. emanate/nyundo

ActiveLibrary[Utility &amp; Helpers](/categories/utility)

emanate/nyundo
==============

License Manager

v1.1(5mo ago)1119MITPHPPHP ^8.3CI failing

Since Dec 17Pushed 4mo agoCompare

[ Source](https://github.com/wao1ook/nyundo)[ Packagist](https://packagist.org/packages/emanate/nyundo)[ Docs](https://github.com/wao1ook/nyundo)[ GitHub Sponsors]()[ RSS](/packages/emanate-nyundo/feed)WikiDiscussions main Synced 1mo ago

READMEChangelog (2)Dependencies (3)Versions (3)Used By (0)

Nyundo: License Manager for Laravel
===================================

[](#nyundo-license-manager-for-laravel)

[![Latest Stable Version](https://camo.githubusercontent.com/17446e6acd9870e549b2758dbad2f273f30a783de9ba7c975b11d95e6df88163/68747470733a2f2f706f7365722e707567782e6f72672f656d616e6174652f6e79756e646f2f76)](https://packagist.org/packages/emanate/nyundo)[![Total Downloads](https://camo.githubusercontent.com/de060284c7e6d70609146a67bb65439347d1ad9d91ba5df42bee01c49271f37e/68747470733a2f2f706f7365722e707567782e6f72672f656d616e6174652f6e79756e646f2f646f776e6c6f616473)](https://packagist.org/packages/emanate/nyundo)[![License](https://camo.githubusercontent.com/2b62257c9bc9d43754f9971b5ca916b07cce95be5a9a730c05dc100fc14eaba3/68747470733a2f2f706f7365722e707567782e6f72672f656d616e6174652f6e79756e646f2f6c6963656e7365)](https://packagist.org/packages/emanate/nyundo)

Nyundo is a simple license management package for Laravel applications. it allows you to easily enforce license expiration, grace periods, and display customizable warning messages or expiration pages.

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

[](#installation)

You can install the package via composer:

```
composer require emanate/nyundo
```

You can publish the config file with:

```
php artisan vendor:publish --tag="nyundo-config"
```

Configuration
-------------

[](#configuration)

### Environment Variables

[](#environment-variables)

Add these variables to your `.env` file:

```
LICENSE_KEY="YOUR-LICENSE-KEY"
LICENSE_HOLDER="Your Company"
LICENSE_EXPIRATION_DATE="2025-12-31"
LICENSE_WARNING_DAYS=7
LICENSE_GRACE_PERIOD_DAYS=0
LICENSE_SUPPORT_PHONE="+2557123456789"
LICENSE_SUPPORT_EMAIL="support@example.com"
LICENSE_SUPPORT_HOURS="Monday - Friday, 9:00 AM - 5:00 PM"
NYUNDO_PASSWORD="your-strong-password"
```

### Config File

[](#config-file)

This is the contents of the published config file:

```
return [
    'key' => env('LICENSE_KEY', null),

    'holder' => env('LICENSE_HOLDER', null),

    'warning_days' => (int) env('LICENSE_WARNING_DAYS', 7),

    'expiration_date' => env('LICENSE_EXPIRATION_DATE', null),

    'grace_period_days' => (int) env('LICENSE_GRACE_PERIOD_DAYS', 0),

    'support' => [
        'phone' => env('LICENSE_SUPPORT_PHONE', '+2557123456789'),
        'email' => env('LICENSE_SUPPORT_EMAIL', 'support@example.com'),
        'hours' => env('LICENSE_SUPPORT_HOURS', 'Monday - Friday, 9:00 AM - 5:00 PM'),
    ],

    'nyundo_password' => env('NYUNDO_PASSWORD', null),
];
```

Usage
-----

[](#usage)

### Middleware

[](#middleware)

To enforce license checks, add the `nyundo.check-license` middleware to your routes in `routes/web.php`.

For example, you can add it to your login route to show warnings to your users before they log in:

```
Route::get('/login', [LoginController::class, 'showLoginForm'])
    ->middleware('nyundo.check-license')
    ->name('login');
```

Or protect an entire group of routes (this will redirect users to the expiration page if the license is fully expired):

```
Route::middleware(['nyundo.check-license'])->group(function () {
    Route::get('/dashboard', [DashboardController::class, 'index']);
});
```

### CLI Commands

[](#cli-commands)

#### Status Check

[](#status-check)

Check your license status directly from the terminal:

```
php artisan nyundo:status
```

#### Apply License

[](#apply-license)

Apply a new license securely via the command line. This requires the `NYUNDO_PASSWORD` to be set in your `.env` file. If you omit the `--password` flag, you will be prompted to enter it securely.

```
php artisan nyundo:renew \
    --license-key="ABC-123" \
    --expiry-date="2026-12-31" \
    --warning-days=10 \
    --grace-period=5
```

Customization
-------------

[](#customization)

### Displaying Warnings in your UI

[](#displaying-warnings-in-your-ui)

The middleware automatically prepares messages for you. Add this snippet to your Blade templates (e.g., in your login or dashboard views) to display them.

#### Basic Example:

[](#basic-example)

```
@if(session('nyundo_license_warning'))

        {{ session('nyundo_license_warning') }}

@endif
```

#### Tailwind + Lucide Example:

[](#tailwind--lucide-example)

```
@if(session('nyundo_license_warning') || session('nyundo_license_error'))

            {{ session('nyundo_license_error') ? 'License Expired' : 'License Warning' }}
            {{ session('nyundo_license_error') ?? session('nyundo_license_warning') }}

@endif
```

### Customizing the Expiration Page

[](#customizing-the-expiration-page)

If you want to customize the full-screen expiration page, publish the views:

```
php artisan vendor:publish --tag="nyundo-views"
```

The view will be published to `resources/views/vendor/nyundo/expired.blade.php`.

Changelog
---------

[](#changelog)

Please see [CHANGELOG](CHANGELOG.md) for more information on what has changed recently.

Credits
-------

[](#credits)

- [Emanate Software](http://github.com/wao1ook)
- [All Contributors](../../contributors)

License
-------

[](#license)

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

###  Health Score

39

—

LowBetter than 86% of packages

Maintenance74

Regular maintenance activity

Popularity15

Limited adoption so far

Community6

Small or concentrated contributor base

Maturity51

Maturing project, gaining track record

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

Total

2

Last Release

150d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/2ccc38bd6de9b185bbb40225d94451f81f219de050376b62d5adb61a52079941?d=identicon)[emanate](/maintainers/emanate)

---

Top Contributors

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

---

Tags

laravellaravel-packagelicenselicense-managementsaaslaravelemanatenyundo

###  Code Quality

Code StyleLaravel Pint

### Embed Badge

![Health badge](/badges/emanate-nyundo/health.svg)

```
[![Health](https://phpackages.com/badges/emanate-nyundo/health.svg)](https://phpackages.com/packages/emanate-nyundo)
```

###  Alternatives

[spatie/laravel-data

Create unified resources and data transfer objects

1.8k28.9M627](/packages/spatie-laravel-data)[spatie/laravel-livewire-wizard

Build wizards using Livewire

4061.0M4](/packages/spatie-laravel-livewire-wizard)[hirethunk/verbs

An event sourcing package that feels nice.

513162.9k6](/packages/hirethunk-verbs)[worksome/exchange

Check Exchange Rates for any currency in Laravel.

123544.7k](/packages/worksome-exchange)[ralphjsmit/livewire-urls

Get the previous and current url in Livewire.

82270.3k4](/packages/ralphjsmit-livewire-urls)[hydrat/filament-table-layout-toggle

Filament plugin adding a toggle button to tables, allowing user to switch between Grid and Table layouts.

6292.3k1](/packages/hydrat-filament-table-layout-toggle)

PHPackages © 2026

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