PHPackages                             real-digital/half-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. real-digital/half-flake

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

real-digital/half-flake
=======================

HalfFlake is a PHP library for distributive generating unique ID numbers using Twitter's Snowflake Algorithm

1.0.0(6y ago)02MITPHPPHP ^7.2

Since Jun 28Pushed 6y ago2 watchersCompare

[ Source](https://github.com/real-digital/half-flake)[ Packagist](https://packagist.org/packages/real-digital/half-flake)[ Docs](https://github.com/real-digital/half-flake)[ RSS](/packages/real-digital-half-flake/feed)WikiDiscussions master Synced 3d ago

READMEChangelogDependencies (4)Versions (2)Used By (0)

HalfFlake
=========

[](#halfflake)

[![Latest Stable Version](https://camo.githubusercontent.com/3aae457ce9f700d19daec83f92787b52c9449fb290f814bf0682cc181e309d9b/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f7265616c2d6469676974616c2f68616c662d666c616b652e737667)](https://packagist.org/packages/real-digital/half-flake)[![Build Status](https://camo.githubusercontent.com/b673cfccb8f7ab450d41494e66cfd78e7e1f7c0171f8d3426a117143bc70757e/68747470733a2f2f7472617669732d63692e6f72672f7265616c2d6469676974616c2f68616c662d666c616b652e7376673f6272616e63683d6d6173746572)](https://travis-ci.org/real-digital/half-flake)[![Coverage Status](https://camo.githubusercontent.com/baa05f327d1dfa4bd70c6353fa3b21e76f52db33efa07f84f19642e0353ecbc4/68747470733a2f2f636f766572616c6c732e696f2f7265706f732f6769746875622f7265616c2d6469676974616c2f68616c662d666c616b652f62616467652e7376673f6272616e63683d6d6173746572)](https://coveralls.io/github/real-digital/half-flake?branch=master)

HalfFlake is a PHP library for distributive generating unique ID numbers using Twitter's [Snowflake](https://github.com/twitter-archive/snowflake/blob/snowflake-2010/README.mkd) Algorithm.

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

[](#installation)

via Composer

```
$ composer require real-digital/half-flake
```

via GitHub

```
$ git clone https://github.com/real-digital/half-flake.git
```

### Usage

[](#usage)

```
