Skip to content

Installation

Install from repository

Coming Soon: Install directly with apt / rpm on your Linux system of choice.

Development install

For now, this project is likely built from source while packaging is being prepared.

bash
git clone https://github.com/AllanGallop/libphp_imagehash.git
cd libphp_imagehash
cargo build --release

Then load the built extension in PHP.

WARNING

The exact extension filename and PHP config path depend on your build environment. Replace the paths with your real output path.

ini
extension=/path/to/libphp_imagehash.so

Verify

bash
php --ri imagehash

or:

bash
php -m | grep imagehash

Native tools, weird experiments, and practical performance work.