PHPackages                             laxit/keychan - 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. laxit/keychan

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

laxit/keychan
=============

descriptive &amp; human-readable ID | TAG

0.0.2(1y ago)020MITPHP

Since Aug 7Pushed 11mo ago1 watchersCompare

[ Source](https://github.com/laxit-patel/keychan)[ Packagist](https://packagist.org/packages/laxit/keychan)[ RSS](/packages/laxit-keychan/feed)WikiDiscussions main Synced 1mo ago

READMEChangelog (3)Dependencies (1)Versions (4)Used By (0)

[![Greet_Keychan](https://camo.githubusercontent.com/b85203d8f6a78d89b9ab6458bdf53b110b29705fb2d646e36a3d64662265f8c5/68747470733a2f2f73746f726167652e676f6f676c65617069732e636f6d2f77636f72705f7075626c69632f77616966756c61622f707265766965772f3637373363633539333261613639356433626130386536373065636234353862313635393838363232362e706e67)](https://camo.githubusercontent.com/b85203d8f6a78d89b9ab6458bdf53b110b29705fb2d646e36a3d64662265f8c5/68747470733a2f2f73746f726167652e676f6f676c65617069732e636f6d2f77636f72705f7075626c69632f77616966756c61622f707265766965772f3637373363633539333261613639356433626130386536373065636234353862313635393838363232362e706e67)

Keychan
=======

[](#keychan)

descriptive &amp; human-readable hex ID | TAG Generator. solves the problem of generating ID that can be referred to / or remembered by human. this helps in handling / identifying entities.

- i.e Order "9779orderPSEu" can be conveyed on call as "please check PSEu"

---

Override 🔥🔥🔥
============

[](#override-)

> with length of 4,it can generate upto **14,776,336** per day, till 2099

Understood! Here are the possibilities for the function `generateCaseSensitiveHex`:

1. **Default (4 characters):**

    ```
    62^4 = 14,776,336

    ```

    This means you can generate up to 14,776,336 unique keys with 4 characters.
2. **6 characters:**

    ```
    62^6 = 56,800,235,584

    ```

    With 6 characters, you can generate up to 56,800,235,584 unique keys.
3. **8 characters:**

    ```
    62^8 = 218,340,105,584,896

    ```

    For 8 characters, the number of unique keys increases to 218,340,105,584,896.
4. **10 characters:**

    ```
    62^{10} = 8,631,762,020,291,600

    ```

    Finally, with 10 characters, you can generate up to 8,631,762,020,291,600 unique keys.

Installation
============

[](#installation)

```
composer install laxit/keychan
```

Usage
=====

[](#usage)

```
$tag = Laxit\Keychan\Tag::generate('order') // 9779orderPSEu
$date = Laxit\Keychan\Tag::date() // 9779
$longTag = Laxit\Keychan\Tag::generate('order',6) // "9779orderseNDF9"
```

Considerations
==============

[](#considerations)

- we're planning to add separators but this can add two unneccary space

Testability
===========

[](#testability)

- Added "orchestra/testbench" for phpunit testing

New Release

###  Health Score

26

—

LowBetter than 43% of packages

Maintenance44

Moderate activity, may be stable

Popularity6

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity39

Early-stage or recently created project

 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

Every ~351 days

Total

3

Last Release

677d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/a8926d4f33f8bb0b3287a1793ffb55ec5fd259cdc46186cf6d5d94e4bbd0560c?d=identicon)[laxit-patel](/maintainers/laxit-patel)

---

Top Contributors

[![laxit-patel](https://avatars.githubusercontent.com/u/24682969?v=4)](https://github.com/laxit-patel "laxit-patel (10 commits)")

---

Tags

hexadecimalid-generatorlaravel-package

### Embed Badge

![Health badge](/badges/laxit-keychan/health.svg)

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

###  Alternatives

[kornrunner/ethereum-token

PHP Ethereum Token Utils

1412.9k1](/packages/kornrunner-ethereum-token)

PHPackages © 2026

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