maxsky / lumen-app-key-generator
Set the application key in Lumen Framework.
Installs: 58 833
Dependents: 0
Suggesters: 0
Security: 0
Stars: 14
Watchers: 3
Forks: 0
Open Issues: 1
This package is auto-updated.
Last update: 2024-10-29 05:46:44 UTC
README
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.