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

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

hejunjie/id-generator
=====================

轻量级 PHP ID 生成器，提供雪花算法、UUID、时间戳和自定义可读 ID 等多种策略，确保全局唯一性与高并发性能，可轻松集成到任何 PHP 项目，适用于订单号、资源标识、日志追踪等多种业务场景 | A lightweight PHP ID generator supporting Snowflake, UUID, timestamp, and custom readable ID strategies. Ensures global uniqueness and high-performance, easily integrable into any PHP project, suitable for order numbers, resource identifiers, log tracking, and various other business scenarios

v1.0.0(9mo ago)223MITPHP &gt;=8.1

Since Aug 21Compare

[ Source](https://github.com/zxc7563598/php-id-generator)[ Packagist](https://packagist.org/packages/hejunjie/id-generator)[ RSS](/packages/hejunjie-id-generator/feed)WikiDiscussions Synced 1mo ago

READMEChangelogDependenciesVersions (2)Used By (0)

### README not available

The README for this package hasn't been synced yet. View it on [GitHub](https://github.com/zxc7563598/php-id-generator).

###  Health Score

31

—

LowBetter than 68% of packages

Maintenance58

Moderate activity, may be stable

Popularity11

Limited adoption so far

Community2

Small or concentrated contributor base

Maturity44

Maturing project, gaining track record

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

270d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/5b65d4b40ae456172fb38f63f84bf737ac88031484b1f228b1cc8d71baa80adf?d=identicon)[苏青安](/maintainers/%E8%8B%8F%E9%9D%92%E5%AE%89)

### Embed Badge

![Health badge](/badges/hejunjie-id-generator/health.svg)

```
[![Health](https://phpackages.com/badges/hejunjie-id-generator/health.svg)](https://phpackages.com/packages/hejunjie-id-generator)
```

###  Alternatives

[bacon/bacon-string-utils

BaconStringUtils contain utitilies to work with strings.

27646.5k1](/packages/bacon-bacon-string-utils)[digitalcloud/nova-page-builder-field

A Laravel Nova page builder field.

3286.7k1](/packages/digitalcloud-nova-page-builder-field)[lootils/uuid

A simple class for working with UUIDs.

3381.4k](/packages/lootils-uuid)[abhi1693/yii2-system-info

Information about the server

337.1k2](/packages/abhi1693-yii2-system-info)

PHPackages © 2026

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