lucasviniciusdev / lumen-generate-app-key
Create the application key in Laravel/Lumen Framework with just one command.
Installs: 776
Dependents: 0
Suggesters: 0
Security: 0
Stars: 0
Watchers: 0
Forks: 0
Open Issues: 0
pkg:composer/lucasviniciusdev/lumen-generate-app-key
This package is auto-updated.
Last update: 2025-09-18 05:31:21 UTC
README
A simple library to generate the Laravel/Lumen Framework application key.
Installation
Use composer to manage your dependencies and download this library.
composer require lucasviniciusdev/lumen-generate-app-key
Description
Support to generate APP KEY by commands in projects with the Lumen Framework.
Usage
Modify $commands
variable in app/Console/Kernel
protected $commands = [ \Lucasviniciusdev\Commands\KeyGenerateCommand::class ];
Then, run the command at the root path of the project:
php artisan key:generate php artisan key:generate --show
Add param --show
will display a generate key without replate APP_KEY in .evn
file. Useful when you need a key for other scripts.
Example key
API_KEY=kddzDjSHLzPYZ713NtFNC0ixBCRsERpe