PHPackages                             horde/ext-xxhash - 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. horde/ext-xxhash

ActivePhp-ext

horde/ext-xxhash
================

xxHash hashing extension for PHP

00CCI failing

Since Mar 29Pushed 1mo agoCompare

[ Source](https://github.com/horde/ext-xxhash)[ Packagist](https://packagist.org/packages/horde/ext-xxhash)[ RSS](/packages/horde-ext-xxhash/feed)WikiDiscussions FRAMEWORK\_6\_0 Synced 1mo ago

READMEChangelogDependenciesVersions (1)Used By (0)

Horde xxhash Extension for PHP
==============================

[](#horde-xxhash-extension-for-php)

This extension allows for hashing via the xxHash algorithm.

Documentation for xxHash can be found at [» http://code.google.com/p/xxhash/](http://code.google.com/p/xxhash/).

Purpose
-------

[](#purpose)

This extension is maintained for educational purposes only. horde/xxhash used to tie into horde/lz4 for supporting the xxhash algorithm. Modern PHP 8 brings its own xxhash methods in core and horde/lz4 is going to be ported to this core functionality.

Making horde/xxhash compatible with latest PHP 8.x practices is a *toy project* and learning experience. It serves no practical purposes. I last contributed c code patches to PHP many years ago and mostly learned from Sara Golemon's seminal book on PHP Interals "Extending and Embedding PHP", published in 2006. I am also not the original author, neither of xxhash nor of horde/xxhash and in no way affiliated with the original PHP implementation.

You want to use this for some reason? Great! Let me know, I am curious!

Configration
------------

[](#configration)

php.ini:

```
extension=horde_xxhash.so

```

Function
--------

[](#function)

- horde\_xxhash — xxHash computation

### horde\_xxhash — xxHash computation

[](#horde_xxhash--xxhash-computation)

#### Description

[](#description)

string **horde\_xxhash** (string *$data*)

xxHash computation.

#### Pameters

[](#pameters)

- *data*

    The string to hash.

#### Return Values

[](#return-values)

Returns the 32-bit hash value (in hexidecimal), or FALSE if an error occurred.

Examples
--------

[](#examples)

```
$hash = horde_xxhash('test');

```

###  Health Score

20

—

LowBetter than 14% of packages

Maintenance60

Regular maintenance activity

Popularity0

Limited adoption so far

Community9

Small or concentrated contributor base

Maturity11

Early-stage or recently created project

 Bus Factor1

Top contributor holds 55.6% of commits — single point of failure

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

### Community

Maintainers

![](https://www.gravatar.com/avatar/e4f6c6771993db2ed500959b42353f6cf6a2ca0406d9617f7ae680f4504faa4a?d=identicon)[horde](/maintainers/horde)

---

Top Contributors

[![ralflang](https://avatars.githubusercontent.com/u/646976?v=4)](https://github.com/ralflang "ralflang (10 commits)")[![yunosh](https://avatars.githubusercontent.com/u/379318?v=4)](https://github.com/yunosh "yunosh (7 commits)")[![slusarz](https://avatars.githubusercontent.com/u/381003?v=4)](https://github.com/slusarz "slusarz (1 commits)")

### Embed Badge

![Health badge](/badges/horde-ext-xxhash/health.svg)

```
[![Health](https://phpackages.com/badges/horde-ext-xxhash/health.svg)](https://phpackages.com/packages/horde-ext-xxhash)
```

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
