Download the PHP package emanate/nyundo without Composer
On this page you can find all versions of the php package emanate/nyundo. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download emanate/nyundo
More information about emanate/nyundo
Files in emanate/nyundo
Package nyundo
Short Description License Manager
License MIT
Homepage https://github.com/wao1ook/nyundo
Informations about the package nyundo
Nyundo: License Manager for Laravel
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
You can install the package via composer:
You can publish the config file with:
Configuration
Environment Variables
Add these variables to your .env file:
Config File
This is the contents of the published config file:
Usage
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:
Or protect an entire group of routes (this will redirect users to the expiration page if the license is fully expired):
CLI Commands
Status Check
Check your license status directly from the terminal:
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.
Customization
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:
Tailwind + Lucide Example:
Customizing the Expiration Page
If you want to customize the full-screen expiration page, publish the views:
The view will be published to resources/views/vendor/nyundo/expired.blade.php.
Changelog
Please see CHANGELOG for more information on what has changed recently.
Credits
- Emanate Software
- All Contributors
License
The MIT License (MIT). Please see License File for more information.
All versions of nyundo with dependencies
spatie/laravel-package-tools Version ^1.16
illuminate/contracts Version ^11.0||^12.0