Download the PHP package leo-gan/gld-arrow-php without Composer

On this page you can find all versions of the php package leo-gan/gld-arrow-php. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.

FAQ

After the download, you have to make one include require_once('vendor/autoload.php');. After that you have to import the classes with use statements.

Example:
If you use only one package a project is not needed. But if you use more then one package, without a project it is not possible to import the classes with use statements.

In general, it is recommended to use always a project to download your libraries. In an application normally there is more than one library needed.
Some PHP packages are not free to download and because of that hosted in private repositories. In this case some credentials are needed to access such packages. Please use the auth.json textarea to insert credentials, if a package is coming from a private repository. You can look here for more information.

  • Some hosting areas are not accessible by a terminal or SSH. Then it is not possible to use Composer.
  • To use Composer is sometimes complicated. Especially for beginners.
  • Composer needs much resources. Sometimes they are not available on a simple webspace.
  • If you are using private repositories you don't need to share your credentials. You can set up everything on our site and then you provide a simple download link to your team member.
  • Simplify your Composer build process. Use our own command line tool to download the vendor folder as binary. This makes your build process faster and you don't need to expose your credentials for private repositories.
Please rate this library. Is it a good library?

Informations about the package gld-arrow-php

gld-arrow-php

Serialization is the hub for the theory, the history, and the benchmarks.

A from-scratch Apache Arrow library for PHP 8.3. The runtime and the code generator are written in PHP. They do not wrap, link, or call the Arrow C++ library, ext-arrow, or any other C Arrow extension.

PyArrow is a test oracle only. It is not required to encode or decode at runtime. Checked-in streams under testdata/golden/ were written by PyArrow 25 so the test suite can read them without installing PyArrow.

This repository is a standalone library. It is not part of any other project.

Documentation: Why Arrow, Instructions, Examples, Techniques, Test data.

Install

PHP 8.3 or newer. From a git checkout:

Composer package name: leo-gan/gld-arrow-php. Namespace: Gld\Arrow. The code generator is gld-arrowgen-php.

After release 0.2.0 is on Packagist:

What it reads and writes

Surface Behavior
IPC stream and file Schema, dictionary batches, record batches, and the file footer. Metadata versions V4 and V5 are accepted. The writer emits V5.
Types Null, bool, ints 8/16/32/64 signed and unsigned, float16/32/64, decimal, date, time, timestamp, duration, interval, binary, large binary, string, large string, utf8 view, binary view, fixed-size binary, list, large list, list view, large list view, fixed-size list, struct, map, dense union, sparse union, dictionary, and run-end encoded.
Compression LZ4 frame and Zstd body compression, implemented in PHP. The Zstd writer emits raw blocks and RLE blocks. The reader accepts those, skippable frames, and content checksums.
Tensors Dense tensor messages, plus sparse COO, CSX, and CSF messages.
Flight Handshake, DoGet, and DoPut protobuf messages, plus an in-memory request/response loop that does not open a socket.
Schema JSON Schema objects and Arrow schema JSON. gld-arrowgen-php emits PHP classes with encodedLength, encode, and decode.

The writer uses little-endian buffers and 8-byte alignment. Two encodes of the same value match when the options match. Nulls, field order, and schema metadata are kept. A big-endian schema is accepted on read and fixed-width value buffers are swapped into little-endian memory.

Layout

src/Arrow.php is the public facade. src/Runtime holds the columnar arena and the FlatBuffer codec. src/Wire holds IPC, tensors, and the file footer. src/Compress holds LZ4 and Zstd. src/Flight holds the protobuf messages. src/Schema and src/Codegen turn a schema into PHP.

License

MIT. Copyright (c) 2026 Leonid Ganeline.


All versions of gld-arrow-php with dependencies

PHP Build Version
Package Version
Requires php Version >=8.3
Composer command for our command line client (download client) This client runs in each environment. You don't need a specific PHP version etc. The first 20 API calls are free. Standard composer command

The package leo-gan/gld-arrow-php contains the following files

Loading the files please wait ...