| Recommend this page to a friend! | 
| Info | Documentation | Reputation | Support forum | Blog | Links | 
| Ratings | Unique User Downloads | Download Rankings | ||||
| Not yet rated by the users | Total: 56 | All time:  10,587 This week: 41 | ||||
| Version | License | PHP version | Categories | |||
| murmurhash-php 1.0 | MIT/X Consortium ... | 5 | Algorithms, PHP 5 | 
PHP Implementation of MurmurHash3
More information about these algorithms can be found at:
Porting of the MurmurHash3 JavaScript version created by Gary Court (https://github.com/garycourt/murmurhash-js)
Use composer :
composer require lastguest/murmurhash
You can retrieve an hash via hash3 static method of class Murmur
<?php
use lastguest\Murmur;
echo Murmur::hash3("Hello World");
// cnd0ue
You can pass a precise seed positive integer as second parameter
<?php
use lastguest\Murmur;
echo Murmur::hash3("Hello World", 1234567);
// qtq2u
If you need the integer hash, use the hash3_int method
<?php
use lastguest\Murmur;
echo Murmur::hash3_int("Hello World");
// 427197390
| File | Role | Description | ||
|---|---|---|---|---|
| Data | Auxiliary data | |||
| Data | Auxiliary data | |||
| Data | Auxiliary data | |||
| Lic. | License text | |||
| Doc. | Documentation | |||
| / | tests | 
| File | Role | Description | ||
|---|---|---|---|---|
|    | 
Data | Auxiliary data | ||
|    | 
Data | Auxiliary data | ||
| The PHP Classes site has supported package installation using the Composer tool since 2013, as you may verify by reading this instructions page. | 
| Version Control | Unique User Downloads | Download Rankings | |||||||||||||||
| 100% | 
  | 
  | 
| Applications that use this package | 
 If you know an application of this package, send a message to the author to add a link here.