FFI Library Binaries
Prebuilt binaries for the ScanMePHP FFI library are attached to this release:
libscanme_qr-linux-glibc-x86_64.so- Linux with glibc (Ubuntu, Debian, etc.)libscanme_qr-linux-musl-x86_64.so- Linux with musl (Alpine Linux)libscanme_qr-macos-x86_64.dylib- macOS Intellibscanme_qr-macos-arm64.dylib- macOS Apple Silicon
Installation
Download the appropriate binary for your platform and place it in your project directory. The PHP FFI encoder will automatically detect and load it.
PHP Extension Binaries
Precompiled PHP extension binaries are attached to this release for PHP 8.2, 8.3, and 8.4:
Linux (glibc) - Ubuntu, Debian, etc.:
php-ext-linux-glibc-x86_64-php82.so- PHP 8.2php-ext-linux-glibc-x86_64-php83.so- PHP 8.3php-ext-linux-glibc-x86_64-php84.so- PHP 8.4
Linux (musl) - Alpine Linux:
php-ext-linux-musl-x86_64-php82.so- PHP 8.2php-ext-linux-musl-x86_64-php83.so- PHP 8.3php-ext-linux-musl-x86_64-php84.so- PHP 8.4
macOS Intel:
php-ext-macos-x86_64-php82.so- PHP 8.2php-ext-macos-x86_64-php83.so- PHP 8.3php-ext-macos-x86_64-php84.so- PHP 8.4
macOS Apple Silicon:
php-ext-macos-arm64-php82.so- PHP 8.2php-ext-macos-arm64-php83.so- PHP 8.3php-ext-macos-arm64-php84.so- PHP 8.4
Installation
Option 1: Composer (Recommended)
composer require crazy-goat/scanmephpThe Composer plugin will automatically download the correct binary for your PHP version.
Option 2: Manual
- Download the appropriate binary for your platform and PHP version
- Place it in your PHP extensions directory (check
php-config --extension-dir) - Add
extension=scanmeqr.soto your php.ini - Restart your web server or PHP-FPM
PHP Version Compatibility
| PHP Version | Linux glibc | Linux musl | macOS x86_64 | macOS arm64 |
|---|---|---|---|---|
| 8.2 | ✅ | ✅ | ✅ | ✅ |
| 8.3 | ✅ | ✅ | ✅ | ✅ |
| 8.4 | ✅ | ✅ | ✅ | ✅ |
What's Changed
Full Changelog: v0.5.1...v0.5.2