Skip to content

v0.5.2

Latest

Choose a tag to compare

@github-actions github-actions released this 26 Aug 04:30
· 2 commits to main since this release
70afe4b

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 Intel
  • libscanme_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.2
  • php-ext-linux-glibc-x86_64-php83.so - PHP 8.3
  • php-ext-linux-glibc-x86_64-php84.so - PHP 8.4

Linux (musl) - Alpine Linux:

  • php-ext-linux-musl-x86_64-php82.so - PHP 8.2
  • php-ext-linux-musl-x86_64-php83.so - PHP 8.3
  • php-ext-linux-musl-x86_64-php84.so - PHP 8.4

macOS Intel:

  • php-ext-macos-x86_64-php82.so - PHP 8.2
  • php-ext-macos-x86_64-php83.so - PHP 8.3
  • php-ext-macos-x86_64-php84.so - PHP 8.4

macOS Apple Silicon:

  • php-ext-macos-arm64-php82.so - PHP 8.2
  • php-ext-macos-arm64-php83.so - PHP 8.3
  • php-ext-macos-arm64-php84.so - PHP 8.4

Installation

Option 1: Composer (Recommended)

composer require crazy-goat/scanmephp

The Composer plugin will automatically download the correct binary for your PHP version.

Option 2: Manual

  1. Download the appropriate binary for your platform and PHP version
  2. Place it in your PHP extensions directory (check php-config --extension-dir)
  3. Add extension=scanmeqr.so to your php.ini
  4. 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

  • fix(release): drop PHP 8.1 binaries and unbreak the v0.5.x release build by @s2x in #203

Full Changelog: v0.5.1...v0.5.2