PHPackages                             svengerlach/flake - 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. svengerlach/flake

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

svengerlach/flake
=================

Library that helps to generate unique 64 bit integers (for e.g. distributed id generation)

0.1(9y ago)11661MITPHP

Since Aug 4Pushed 9y ago1 watchersCompare

[ Source](https://github.com/svengerlach/flake)[ Packagist](https://packagist.org/packages/svengerlach/flake)[ RSS](/packages/svengerlach-flake/feed)WikiDiscussions master Synced today

READMEChangelogDependenciesVersions (3)Used By (1)

Flake
=====

[](#flake)

[![Build Status](https://camo.githubusercontent.com/b5d7aff2eb334419262ccee439324dc04ce3f68baa8e0578e65be96b90d01e75/68747470733a2f2f7472617669732d63692e6f72672f7376656e6765726c6163682f666c616b652e7376673f6272616e63683d6d6173746572)](https://travis-ci.org/svengerlach/flake)

Simple implementation of Twitter's [snowflake](https://blog.twitter.com/2010/announcing-snowflake) in PHP. The purpose is to generate sortable unique IDs.

Installation
------------

[](#installation)

Installation is recommended to be done via [composer](https://getcomposer.org/) by running:

```
composer require svengerlach/flake
```

###  Health Score

26

—

LowBetter than 41% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity13

Limited adoption so far

Community6

Small or concentrated contributor base

Maturity54

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

Every ~16 days

Total

2

Last Release

3600d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/ec6895e2a6b294afc77c0750662785b8daae3dd5d6a09a07eba5936d22e8eec6?d=identicon)[svengerlach](/maintainers/svengerlach)

### Embed Badge

![Health badge](/badges/svengerlach-flake/health.svg)

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

###  Alternatives

[consoletvs/charts

The laravel charting package

863.8M28](/packages/consoletvs-charts)[joetannenbaum/chewie

122509.2k19](/packages/joetannenbaum-chewie)[google/appengine-php-sdk

Google App Engine PHP SDK

29790.0k4](/packages/google-appengine-php-sdk)[semperfiwebdesign/all-in-one-seo-pack

All in One SEO Pack plugin for WordPress SEO

3652.1k](/packages/semperfiwebdesign-all-in-one-seo-pack)[phix/contractlib

ContractLib is a lightweight PHP library designed to help you write more robust PHP components by helping your components enforce programming contracts throughout your code

3234.0k2](/packages/phix-contractlib)[wdev-rs/laravel-analytics

Collect page view data in your application without third party tracking

151.2k](/packages/wdev-rs-laravel-analytics)

PHPackages © 2026

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