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

Maintainers

Package info

github.com/svengerlach/flake

pkg:composer/svengerlach/flake

Statistics

Installs: 165

Dependents: 1

Suggesters: 0

Stars: 1

Open Issues: 0

0.1 2016-08-04 19:30 UTC

This package is auto-updated.

Last update: 2026-03-27 00:40:11 UTC


README

Build Status

Simple implementation of Twitter's snowflake in PHP. The purpose is to generate sortable unique IDs.

Installation

Installation is recommended to be done via composer by running:

composer require svengerlach/flake