Skip to content

maxsky/Lumen-AppKey-Generator

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Install

composer require maxsky/lumen-app-key-generator

Description

Support generate APP_KEY in Lumen same as Laravel.

Usage

Modify $commands variable in app/Console/Kernel:

protected $commands = [
    \Illuminate\Console\KeyGenerateCommand::class,
];

Then run command at project root path:

php artisan key:generate
php artisan key:generate --show

Add param --show will display a generate key without replace APP_KEY in .env file.

About

Support generate a key in Lumen same as from Laravel.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages