PHPackages                             lucasviniciusdev/lumen-generate-app-key - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [CLI &amp; Console](/categories/cli)
4. /
5. lucasviniciusdev/lumen-generate-app-key

ActiveLibrary[CLI &amp; Console](/categories/cli)

lucasviniciusdev/lumen-generate-app-key
=======================================

Create the application key in Laravel/Lumen Framework with just one command.

v1.0(5y ago)0811MITPHP

Since Jul 17Pushed 5y agoCompare

[ Source](https://github.com/LucasViniciusDev/lumen-generate-app-key)[ Packagist](https://packagist.org/packages/lucasviniciusdev/lumen-generate-app-key)[ RSS](/packages/lucasviniciusdev-lumen-generate-app-key/feed)WikiDiscussions master Synced yesterday

READMEChangelogDependenciesVersions (2)Used By (0)

LUMEN GENERATE APP KEY
======================

[](#lumen-generate-app-key)

A simple library to generate the Laravel/Lumen Framework application key.

Installation
------------

[](#installation)

Use composer to manage your dependencies and download this library.

```
composer require lucasviniciusdev/lumen-generate-app-key
```

Description
===========

[](#description)

Support to generate **APP KEY** by commands in projects with the Lumen Framework.

Usage
=====

[](#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
-----------

[](#example-key)

**API\_KEY=kddzDjSHLzPYZ713NtFNC0ixBCRsERpe**

###  Health Score

26

—

LowBetter than 43% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity13

Limited adoption so far

Community6

Small or concentrated contributor base

Maturity55

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 100% of commits — single point of failure

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

###  Release Activity

Cadence

Unknown

Total

1

Last Release

2125d ago

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/67592894?v=4)[Lucas Vinicius](/maintainers/LucasViniciusDev)[@LucasViniciusDev](https://github.com/LucasViniciusDev)

---

Top Contributors

[![LucasViniciusDev](https://avatars.githubusercontent.com/u/67592894?v=4)](https://github.com/LucasViniciusDev "LucasViniciusDev (1 commits)")

### Embed Badge

![Health badge](/badges/lucasviniciusdev-lumen-generate-app-key/health.svg)

```
[![Health](https://phpackages.com/badges/lucasviniciusdev-lumen-generate-app-key/health.svg)](https://phpackages.com/packages/lucasviniciusdev-lumen-generate-app-key)
```

###  Alternatives

[wp-cli/wp-cli

WP-CLI framework

5.0k17.2M320](/packages/wp-cli-wp-cli)[consolidation/annotated-command

Initialize Symfony Console commands from annotated command class methods.

22569.8M19](/packages/consolidation-annotated-command)[chi-teck/drupal-code-generator

Drupal code generator

26947.8M5](/packages/chi-teck-drupal-code-generator)[seld/cli-prompt

Allows you to prompt for user input on the command line, and optionally hide the characters they type

24725.8M17](/packages/seld-cli-prompt)[illuminate/console

The Illuminate Console package.

12944.1M5.1k](/packages/illuminate-console)[php-tui/php-tui

Comprehensive TUI library heavily influenced by Ratatui

589747.0k6](/packages/php-tui-php-tui)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
