| Package Data | |
|---|---|
| Maintainer Username: | maxsky |
| Maintainer Contact: | max940213@live.com (Max Sky) |
| Package Create Date: | 2019-03-07 |
| Package Last Update: | 2019-03-31 |
| Language: | PHP |
| License: | MIT |
| Last Refreshed: | 2025-11-26 03:10:20 |
| Package Statistics | |
|---|---|
| Total Downloads: | 75,894 |
| Monthly Downloads: | 441 |
| Daily Downloads: | 37 |
| Total Stars: | 14 |
| Total Watchers: | 2 |
| Total Forks: | 0 |
| Total Open Issues: | 1 |
composer require maxsky/lumen-app-key-generator
Support generate APP_KEY in Lumen same as Laravel.
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.