Skip to content
markbook2 edited this page Feb 3, 2017 · 9 revisions

The Kaitai Struct: runtime for PHP can be used in two different ways:

  1. Usage as part of Kaitai Struct

  2. Independently as Composer's library

The both approaches are described below in order.

1. Usage as part of Kaitai Struct

@TODO

2. Independent usage as Composer's library

cat <<'OUT' > composer.json
{
    "minimum-stability": "dev",
    "require": {
        "kaitai-io/kaitai_struct_php_runtime": "dev-master"
    },
    "repositories": [
        {
            "type": "vcs",
            "url":  "[email protected]:kaitai-io/kaitai_struct_php_runtime.git"
        }
    ]
}
OUT
composer install
Clone this wiki locally