PHPackages                             folleah/codegen - 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. [Utility &amp; Helpers](/categories/utility)
4. /
5. folleah/codegen

ActiveLibrary[Utility &amp; Helpers](/categories/utility)

folleah/codegen
===============

Library for simple generation verification code

1.0.0(6y ago)07PHPPHP &gt;=5

Since May 31Pushed 6y ago1 watchersCompare

[ Source](https://github.com/Folleah/codegen)[ Packagist](https://packagist.org/packages/folleah/codegen)[ RSS](/packages/folleah-codegen/feed)WikiDiscussions master Synced 3d ago

READMEChangelog (1)Dependencies (1)Versions (2)Used By (0)

### Use this library for simple generation verification codes.

[](#use-this-library-for-simple-generation-verification-codes)

**Installation:**

Add to `composer.json`:

```
"folleah/codegen": "^1.0"

```

and run `composer update`

**Using:**

```
/**
 * first param is code length, second param is easy mode flag
/*
$generator = new Generator(4, true);
echo $generator->generate();

```

Generated code without `easy mode`: 5142

Generated code with `easy mode`: 5521

###  Health Score

25

—

LowBetter than 37% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity4

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity59

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

2541d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/f565214be5e2d1127ad2d21aa5d0438e240e1b4bcfe2373a61aff600771ecf23?d=identicon)[Folleah](/maintainers/Folleah)

---

Top Contributors

[![folleah](https://avatars.githubusercontent.com/u/6205767?v=4)](https://github.com/folleah "folleah (5 commits)")

### Embed Badge

![Health badge](/badges/folleah-codegen/health.svg)

```
[![Health](https://phpackages.com/badges/folleah-codegen/health.svg)](https://phpackages.com/packages/folleah-codegen)
```

###  Alternatives

[hidehalo/nanoid-php

A copy of nanoid in PHP

8124.1M41](/packages/hidehalo-nanoid-php)[paragonie/random-lib

A Library For Generating Secure Random Numbers

703.3M26](/packages/paragonie-random-lib)[jasonhinkle/php-gpg

GPG / PGP port written in pure PHP with no binary dependencies

116147.2k1](/packages/jasonhinkle-php-gpg)[gpslab/base64uid

Generate UID like YouTube

68103.4k](/packages/gpslab-base64uid)[wyrihaximus/react-child-process-messenger

Messenger decorator for react/child-process

32279.4k4](/packages/wyrihaximus-react-child-process-messenger)[andrewcarteruk/cryptokey

A command line tool for generating keys using a CSPRNG.

6124.2k](/packages/andrewcarteruk-cryptokey)

PHPackages © 2026

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