z38 / murmurhash
Murmur3F implementation for PHP
Installs: 59 593
Dependents: 0
Suggesters: 0
Security: 0
Stars: 2
Watchers: 2
Forks: 3
Open Issues: 0
Requires
- php: >=5.5.1
- ext-gmp: *
Requires (Dev)
- lastguest/murmurhash: ^1.3
- phpunit/phpunit: ~4.2|~5.0
This package is auto-updated.
Last update: 2025-01-07 05:15:22 UTC
README
PHP implementation of MurmurHash3_x64_128.
Installation
Just install Composer and run composer require z38/murmurhash
in your project directory.
Usage
$hash = new Z38\MurmurHash\Murmur3F(); $hash->write('The quick brown fox jumps over the lazy dog.'); echo bin2hex($hash->sum()); // c902e99e1f4899cde7b68789a3a15d69