Package Data | |
---|---|
Maintainer Username: | LucasViniciusDev |
Package Create Date: | 2020-07-17 |
Package Last Update: | 2020-07-17 |
Language: | PHP |
License: | MIT |
Last Refreshed: | 2024-11-15 15:06:42 |
Package Statistics | |
---|---|
Total Downloads: | 666 |
Monthly Downloads: | 70 |
Daily Downloads: | 6 |
Total Stars: | 0 |
Total Watchers: | 0 |
Total Forks: | 0 |
Total Open Issues: | 0 |
A simple library to generate the Laravel/Lumen Framework application key.
Use composer to manage your dependencies and download this library.
composer require lucasviniciusdev/lumen-generate-app-key
Support to generate APP KEY by commands in projects with the Lumen Framework.
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.
API_KEY=kddzDjSHLzPYZ713NtFNC0ixBCRsERpe