pecl/ion

About:

PHP extension wrapping amzn/ion-c. See the Amazon ION specification.

License:

BSD-2-Clause; see spdx.org.

Installation:

PECL and PHARext is WIP.

Dependencies:

Required:

Optional:

Trinity:

phpize
./configure
make # -j$(nproc)
sudo make install # INSTALL=install

Try with Docker:

docker build -t php-ion
docker run --rm php-ion -r 'echo ion\serialize(ion\Symbol\Table\PHP());'

Editor Stub:

See ion.stub.php.

Known Issues:

Due to private internal state of ion-c's readers and writers, instances of the following PHP classes cannot be cloned:

Editor Stub:

This extension provides a stub file four your editor's auto-completion.

Download the Stub file:

Functions:

Namespaces, Interfaces and Classes: