PHPackages                             gaotiefeng/tool - 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. gaotiefeng/tool

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

gaotiefeng/tool
===============

php tools

v1.0.3(4y ago)029MITPHPPHP &gt;=7.1.0

Since May 18Pushed 4y ago1 watchersCompare

[ Source](https://github.com/gaotiefeng/tool)[ Packagist](https://packagist.org/packages/gaotiefeng/tool)[ RSS](/packages/gaotiefeng-tool/feed)WikiDiscussions main Synced 5d ago

READMEChangelogDependencies (1)Versions (5)Used By (0)

插件
==

[](#插件)

> composer require gaotiefeng/tool

snowflake
---------

[](#snowflake)

```
$snowflake = new Snowflake();
$snowflake = new Snowflake(12345,67891);//工作机器id
$snowflake->setStartTimeStamp(strtotime('2020-09-09')*1000);
$id = $snowflake->id();
```

###  Health Score

23

—

LowBetter than 27% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity7

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity50

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

Every ~2 days

Total

4

Last Release

1817d ago

PHP version history (3 changes)v1.0.0PHP &gt;=7.1

v1.0.2PHP &gt;=7.3

v1.0.3PHP &gt;=7.1.0

### Community

Maintainers

![](https://www.gravatar.com/avatar/6e571c637d3d3a82bc8ff72f76dfb7a55ecd6a60933128f94a10a2a1e88ef516?d=identicon)[qingchen1](/maintainers/qingchen1)

---

Top Contributors

[![gaotiefeng](https://avatars.githubusercontent.com/u/21190323?v=4)](https://github.com/gaotiefeng "gaotiefeng (9 commits)")

---

Tags

php7snowflake

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/gaotiefeng-tool/health.svg)

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

PHPackages © 2026

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