maxsky/swoft-app-key-generator

Set the application key in Swoft 2.x Framework.

v1.0 2019-11-20 09:38 UTC

This package is auto-updated.

Last update: 2024-10-20 21:07:09 UTC


README

Install

composer require maxsky/swoft-app-key-generator

Description

Support generate APP_KEY in Swoft Framework 2.x same as Laravel.

Usage

Run command at project root path:

php ./swoft/bin key:generate
php ./swoft/bin key:generate --show

Add param --show will display a generate key without replace APP_KEY in .env file.