| seo_title | Installing Arrow Extension |
|---|---|
| seo_description | How to install flow-php/arrow-ext PHP extension using precompiled binaries or PIE. |
[TOC]
Precompiled binaries are available for download from the GitHub Releases page.
Binary names follow the PIE naming convention:
php_arrow-{Version}_php{PhpVersion}-{Arch}-{OS}-{Libc}[-{TSMode}].zip
Available platforms:
- macOS ARM64 (Apple Silicon)
- Linux ARM64
- Linux x86_64
PHP versions: 8.3, 8.4, 8.5 (each with NTS and ZTS variants).
Download the matching zip for your platform, then:
# Unzip the archive
unzip php_arrow-*.zip
# Copy to your PHP extensions directory
cp arrow.so $(php -r "echo ini_get('extension_dir');")
# Enable it
echo "extension=arrow" > $(php -r "echo PHP_CONFIG_FILE_SCAN_DIR;")/arrow.ini
# Verify
php -m | grep arrowPIE is the modern PHP extension installer.
pie install flow-php/arrow-extThe Arrow extension is written in Rust and requires the following tools to compile:
- Rust toolchain (rustc, cargo) - install via rustup
- clang - required by the Rust build process