PHPackages                             maxsky/swoft-app-key-generator - 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. [Framework](/categories/framework)
4. /
5. maxsky/swoft-app-key-generator

ActiveLibrary[Framework](/categories/framework)

maxsky/swoft-app-key-generator
==============================

Set the application key in Swoft 2.x Framework.

v1.0(6y ago)010Apache-2.0PHPPHP &gt;=7.1

Since Nov 20Pushed 6y ago1 watchersCompare

[ Source](https://github.com/maxsky/Swoft-AppKey-Generator)[ Packagist](https://packagist.org/packages/maxsky/swoft-app-key-generator)[ RSS](/packages/maxsky-swoft-app-key-generator/feed)WikiDiscussions master Synced 3w ago

READMEChangelog (1)DependenciesVersions (2)Used By (0)

[![](https://camo.githubusercontent.com/ac8f294a80f65338db545230f1a881b9a382204a1f187c6ff40ee679d42d40ca/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f6c696e6b2d3939362e6963752d7265642e737667)](https://996.icu)

Install
=======

[](#install)

```
composer require maxsky/swoft-app-key-generator
```

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

[](#description)

Support generate **APP\_KEY** in Swoft Framework 2.x same as Laravel.

Usage
=====

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

###  Health Score

23

—

LowBetter than 26% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity5

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity53

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

2416d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/2f8f4aa99ca479f6fb6b162b4b56ce4e8e8e96518c828949a69b2db37ae4ecb0?d=identicon)[maxsky](/maintainers/maxsky)

---

Top Contributors

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

### Embed Badge

![Health badge](/badges/maxsky-swoft-app-key-generator/health.svg)

```
[![Health](https://phpackages.com/badges/maxsky-swoft-app-key-generator/health.svg)](https://phpackages.com/packages/maxsky-swoft-app-key-generator)
```

###  Alternatives

[laravel/dusk

Laravel Dusk provides simple end-to-end testing and browser automation.

1.9k39.6M298](/packages/laravel-dusk)[nineinchnick/edatatables

Grid widget for the Yii Framework, wrapper for the DataTables jQuery plugin

173.2k](/packages/nineinchnick-edatatables)[link-cloud/fast-hyperf

LinkCloud Fast Hyperf

241.2k1](/packages/link-cloud-fast-hyperf)

PHPackages © 2026

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