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 --releaseThen 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.soVerify
bash
php --ri imagehashor:
bash
php -m | grep imagehash