ansas/php-onix

An ONIX parser library.

0.4.4 2018-10-07 04:59 UTC

This package is auto-updated.

Last update: 2024-11-08 20:02:21 UTC


README

PHP ONIX parser library, including both stream and simple(non-stream) parsers.

Simple parser is faster, but consumes lots of memory. It is recommended to parse small files.

Stream parser consume much less memory, but consequently much slower than the simple one. It is recommended to parse large files when the memory resource is limited.

Currently, this library only support Onix Book Spec 2.1.

How to use

Please refer to the tests.

TODO:

  • support ONIX Book Spec 2.1
  • [] support ONIX Book Spec 3.0