PHPackages                             eneye/generate-string - 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. eneye/generate-string

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

eneye/generate-string
=====================

This package help to generate unique random strings base on the length provided and the character types.

1.0(5y ago)114MITPHP

Since Feb 14Pushed 5y ago1 watchersCompare

[ Source](https://github.com/Tijanieneye10/generate-strings)[ Packagist](https://packagist.org/packages/eneye/generate-string)[ RSS](/packages/eneye-generate-string/feed)WikiDiscussions master Synced 1w ago

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

Eneye String Generator
======================

[](#eneye-string-generator)

[![Latest Stable Version](https://camo.githubusercontent.com/eeebf1af91c98a3e501c44f9487aaf190198b108b74605cf93fc305ac932ecba/68747470733a2f2f706f7365722e707567782e6f72672f656e6579652f67656e65726174652d737472696e672f76)](//packagist.org/packages/eneye/generate-string) [![Total Downloads](https://camo.githubusercontent.com/6c9012e29b49e253156a16741bfee4164a0ed01be10da40ef784622c33c0d47c/68747470733a2f2f706f7365722e707567782e6f72672f656e6579652f67656e65726174652d737472696e672f646f776e6c6f616473)](//packagist.org/packages/eneye/generate-string) [![Latest Unstable Version](https://camo.githubusercontent.com/1b39c6cde27db2281004f3ccd6e91b4de6fec759a090be0d23d7ac073a5d000c/68747470733a2f2f706f7365722e707567782e6f72672f656e6579652f67656e65726174652d737472696e672f762f756e737461626c65)](//packagist.org/packages/eneye/generate-string) [![License](https://camo.githubusercontent.com/2890086a830f1f1da051a4b27694192f490145fe160263985cc16938d0ff7e7e/68747470733a2f2f706f7365722e707567782e6f72672f656e6579652f67656e65726174652d737472696e672f6c6963656e7365)](//packagist.org/packages/eneye/generate-string)

Description
-----------

[](#description)

This library is written in PHP(PHP 7+) and it helps to generate random unique strings by providing the length and the character types e.g length = 8 and characters = "abcd123" eight-length of strings will be randomly generated from that character

Install via "composer require"
------------------------------

[](#install-via-composer-require)

```
composer require eneye/generate-string
```

Requirements and Recommendations
--------------------------------

[](#requirements-and-recommendations)

No extensions are required to run this library. This library can be used to generate unique strings for users where necessary.

Usage
-----

[](#usage)

```
use EneyeGenerateString\Generate;

require_once __DIR__ . '/vendor/autoload.php';

$generate = new Generate();
$length = 5;
$characters = "eneye12345";
$output = $generate->generateString($length, $characters );
// This $output will be unique generate strings with 5 characters
```

Contact Creator
---------------

[](#contact-creator)

[![alt text](https://camo.githubusercontent.com/402b38d0fa76b816466b74f23c57d07080b5a34bdfc7d0e8ad6e6b774fa68d84/687474703a2f2f692e696d6775722e636f6d2f7458536f5468462e706e67 "twitter icon with padding")](https://www.twitter.com/TijaniEneye)[![alt text](https://camo.githubusercontent.com/7a0f6b71f31342ab925589d714c8536ec1a8337eb19fc59a978cc2897da2850b/687474703a2f2f692e696d6775722e636f6d2f50335966516f442e706e67 "facebook icon with padding")](https://www.facebook.com/usman.tijani2)

###  Health Score

24

—

LowBetter than 32% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity7

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

1918d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/fddf579818eeaf979b51cc463a6a7e2d8970058d1f4b22bc87371ee0d45b0b83?d=identicon)[Tijani Usman](/maintainers/Tijani%20Usman)

---

Top Contributors

[![Tijanieneye10](https://avatars.githubusercontent.com/u/55223841?v=4)](https://github.com/Tijanieneye10 "Tijanieneye10 (7 commits)")

### Embed Badge

![Health badge](/badges/eneye-generate-string/health.svg)

```
[![Health](https://phpackages.com/badges/eneye-generate-string/health.svg)](https://phpackages.com/packages/eneye-generate-string)
```

###  Alternatives

[downshiftorg/wp-event-emitter

An object oriented event emitter for WordPress actions

1811.3k2](/packages/downshiftorg-wp-event-emitter)

PHPackages © 2026

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