Skip to content

gld-ion-php

gld-ion-php is an Amazon Ion serializer written in PHP 8.3. The runtime and the code generator are PHP. They do not wrap the Ion PECL extension or any C, C++, or Rust Ion library.

  • Why Ion


    What an Ion value is, how text and binary differ, and which types keep more information than JSON.

    Read Why Ion

  • Instructions


    Install the Composer package, decode a datagram, generate PHP from a schema, and run the tests.

    Open Instructions

  • Examples


    Encode and decode a dynamic document and a generated class.

    See Examples

  • Techniques


    How the document arena, symbol tables, and Ion 1.1 macros are laid out.

    Read Techniques

  • Test data


    The vendored ion-tests corpus and the local schema files.

    Open Test data