Download the PHP package esi/consistent-hash without Composer
On this page you can find all versions of the php package esi/consistent-hash. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download esi/consistent-hash
More information about esi/consistent-hash
Files in esi/consistent-hash
Package consistent-hash
Short Description ConsistentHash is a small library which implements consistent hashing. Modernized fork of flexihash/flexihash.
License MIT
Homepage https://github.com/ericsizemore/consistent-hash
Informations about the package consistent-hash
ConsistentHash
Esi\ConsistentHash is a small PHP library which implements consistent hashing, which is most useful in distributed caching.
[!NOTE] This library is a fork of https://github.com/pda/flexihash v3.0.0. The original library has not seen any releases since 2020.
Installation
You can install the package via composer:
Usage
Benchmarks
PHPBench
Performance can be tested with PHPBench.
Or via composer:
There is also an option to view results as a bar chart:
With opcache enabled:
PHPUnit
Benchmarks are also available through PHPUnit, though it is a bit more rudimentary. To see these benchmarks, run:
About
Requirements
- PHP >= 8.2
Credits
- Eric Sizemore
- All Contributors
- Special thanks to JetBrains for their Licenses for Open Source Development
And thanks to the library this is a fork of, flexihash/flexihash:
Contributing
See CONTRIBUTING.
Bugs and feature requests are tracked on GitHub.
Contributor Covenant Code of Conduct
See CODE_OF_CONDUCT.md
Backward Compatibility Promise
See backward-compatibility.md for more information on Backwards Compatibility.
Changelog
See the CHANGELOG for more information on what has changed recently.
License
See the LICENSE for more information on the license that applies to this project.
Roadmap/TODO
See the ROADMAP for more information what is currently being planned.
Security
See SECURITY for more information on the security disclosure process.
All versions of consistent-hash with dependencies
ext-hash Version *