lucasviniciusdev/lumen-generate-app-key
Composer 安装命令:
composer require lucasviniciusdev/lumen-generate-app-key
包简介
Create the application key in Laravel/Lumen Framework with just one command.
README 文档
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
统计信息
- 总下载量: 813
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 0
- 点击次数: 1
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2020-07-17