Skip to content

gld-arrow-php

gld-arrow-php is a from-scratch Apache Arrow library for PHP 8.3.

The runtime reads and writes the Arrow columnar format, the IPC stream, the IPC file, tensors, and the Flight protocol messages used by handshake, DoGet, and DoPut. A code generator turns a JSON Schema document or an Arrow schema into a PHP class. None of this code wraps a C, C++, or Rust Arrow library.

Page What it explains
Why Arrow Columnar values, IPC, and Flight.
Instructions Install, import, and run the tests.
Examples A record batch and a generated class.
Techniques Layout, alignment, compression, and limits.
Test data The streams checked into this repository.