PHPackages                             pg\_ito/fast\_ulid - 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. pg\_ito/fast\_ulid

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

pg\_ito/fast\_ulid
==================

implement fast ULID generator for PHP

v1.0.2(3y ago)02.7kMITPHP

Since Aug 19Pushed 3y ago1 watchersCompare

[ Source](https://github.com/pg-ito/fast_ulid)[ Packagist](https://packagist.org/packages/pg_ito/fast_ulid)[ RSS](/packages/pg-ito-fast-ulid/feed)WikiDiscussions main Synced 3w ago

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

fast\_ulid
==========

[](#fast_ulid)

implement of fast ULID for php

install
-------

[](#install)

### type require command

[](#type-require-command)

```
$ composer require pg-ito/fast_ulid:dev-main

```

usage
-----

[](#usage)

```
$loader = require_once __DIR__.'/vendor/autoload.php';
use \PgIto\FastUlid\FastUlid;

echo FastUlid::gen().PHP_EOL;
// 01GBTYCV1VFFEC1VTRXFJ2VPN7

```

benchmark
---------

[](#benchmark)

```
$ php -v
PHP 8.1.2 (cli) (built: Jul 21 2022 12:10:37) (NTS)
Copyright (c) The PHP Group
Zend Engine v4.1.2, Copyright (c) Zend Technologies
    with Zend OPcache v8.1.2, Copyright (c), by Zend Technologies

$ php bench.php
number of generated ids 1000000
elapsed 2.1725078 Sec.
2172.5078 nSec/generate

```

test
----

[](#test)

```
$ ./vendor/bin/phpunit ./tests/

```

###  Health Score

26

—

LowBetter than 41% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity16

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity49

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 ~6 days

Total

3

Last Release

1391d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/48923bfa1b40a2a93ebde7aea50b9e2761ce9ac8ffbb8dd517be23d8ab6e101f?d=identicon)[pg-ito](/maintainers/pg-ito)

---

Top Contributors

[![pg-ito](https://avatars.githubusercontent.com/u/8508543?v=4)](https://github.com/pg-ito "pg-ito (10 commits)")

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/pg-ito-fast-ulid/health.svg)

```
[![Health](https://phpackages.com/badges/pg-ito-fast-ulid/health.svg)](https://phpackages.com/packages/pg-ito-fast-ulid)
```

###  Alternatives

[workos/workos-php

WorkOS PHP Library

412.8M8](/packages/workos-workos-php)

PHPackages © 2026

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