PHPackages                             tguyard/flexihash - 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. tguyard/flexihash

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

tguyard/flexihash
=================

Flexihash Consistent Hashing Library.

06PHP

Since Aug 12Pushed 10y ago1 watchersCompare

[ Source](https://github.com/tguyard/flexihash)[ Packagist](https://packagist.org/packages/tguyard/flexihash)[ RSS](/packages/tguyard-flexihash/feed)WikiDiscussions psr-4 Synced 1mo ago

READMEChangelogDependenciesVersions (2)Used By (0)

Flexihash
=========

[](#flexihash)

[![Build Status](https://camo.githubusercontent.com/45033d329f8ac96eb24502ed84f08ef3ab3a2e2132b792e06e7f87d08e7acbd9/68747470733a2f2f7472617669732d63692e6f72672f6d696e6f72676f642f666c657869686173682e7376673f6272616e63683d7073722d34)](https://travis-ci.org/minorgod/flexihash)

Flexihash is a small PHP library which implements \[[http://en.wikipedia.org/wiki/Consistent\_hashing](http://en.wikipedia.org/wiki/Consistent_hashing) consistent hashing\], which is most useful in distributed caching. It requires PHP5 and uses PHPUnit for unit testing.

Usage Example
-------------

[](#usage-example)

```
