Introduction
Arrow Extension
Table of Contents
Precompiled Binaries
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).
Installation
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 arrow
PIE
PIE is the modern PHP extension installer.
pie install flow-php/arrow-ext
Build Prerequisites
The 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