flevnex/elicense

A Laravel package for managing electronic licenses

v1.0.1 2025-01-01 12:12 UTC

This package is not auto-updated.

Last update: 2025-06-19 13:35:33 UTC


README

A Laravel package for managing electronic licenses and license keys.

Installation

You can install the package via composer:

composer require flevnex/elicense

Usage

// Generate a new license
use Flevnex\Elicense\Models\License;

$license = License::create([
    'user_id' => 1,
    'expires_at' => now()->addYear()
]);

Configuration

Publish the configuration file:

php artisan vendor:publish --provider="Flevnex\Elicense\ElicenseServiceProvider"

Database Migrations

Run the migrations:

php artisan migrate

Testing

composer test

Security

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

License

The MIT License (MIT). Please see License File for more information.