eeeinnovation/project-activator

Package to activate project through license key and monitor whether the key is expired or not.

v1.1.0 2021-02-07 19:47 UTC

This package is auto-updated.

Last update: 2024-04-07 20:43:58 UTC


README

Package to activate project through license key and monitor whether the key is expired or not.

Setup -composer require eeeinnovation/project-activator -php artisan migrate -register middleware in App/Http/Kernel.php like:

'isLicenseActive' => \EeeInnovation\ProjectActivator\Http\Middleware\CheckLicenseExpiry::class,

-guard web route with the registered middleware like:

Route::get('/', function () {
    return view('welcome');
})->middleware('isLicenseActive');

-Declare a config variable 'project_slug' in app.php like:

'project_slug'=> PROJECT SLUG