api for XML

Installs: 12

Dependents: 0

Suggesters: 0

Security: 0

Stars: 0

Watchers: 1

Forks: 0

Open Issues: 0

pkg:composer/mirolabs/sax

1.0.1 2019-04-24 17:37 UTC

This package is auto-updated.

Last update: 2025-09-25 10:21:46 UTC


README

#stream api xml

use example

$file = 'file.xml';

$callback = function(\Mirolabs\Sax\Xml\XmlObject $obj) {
    var_dump($obj->findTag('img', true)->getContent());
};

$finder = new Mirolabs\Sax\Finder($callback, 128);
$finder->find($file, 'event');