PHPackages                             hobnob/xml-stream-reader - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [Parsing &amp; Serialization](/categories/parsing)
4. /
5. hobnob/xml-stream-reader

ActiveLibrary[Parsing &amp; Serialization](/categories/parsing)

hobnob/xml-stream-reader
========================

PHP SAX XML Stream Reader

v1.0.8(11y ago)47192.7k↓34.4%16[2 issues](https://github.com/hobnob/xmlStreamReader/issues)MITPHPPHP &gt;=5.3.0

Since Apr 15Pushed 9y ago9 watchersCompare

[ Source](https://github.com/hobnob/xmlStreamReader)[ Packagist](https://packagist.org/packages/hobnob/xml-stream-reader)[ Docs](https://github.com/hobnob/xmlStreamReader)[ RSS](/packages/hobnob-xml-stream-reader/feed)WikiDiscussions master Synced 1mo ago

READMEChangelog (6)Dependencies (1)Versions (10)Used By (0)

xmlStreamReader
===============

[](#xmlstreamreader)

[![Build Status](https://camo.githubusercontent.com/d6c4a2450560b4cfbd7878e1c2b8dbdb1688c717995016d0b0f467668e2522d2/68747470733a2f2f7472617669732d63692e6f72672f686f626e6f622f786d6c53747265616d5265616465722e706e673f6272616e63683d6d6173746572)](https://travis-ci.org/hobnob/xmlStreamReader)[![Dependency Status](https://camo.githubusercontent.com/bfa4d07cd8d3c12c9a19eb0335ea15544e714d6e4939c21d79b85bc58cce5dfc/68747470733a2f2f7777772e76657273696f6e6579652e636f6d2f757365722f70726f6a656374732f3533306635666366656331333735343138343030303631662f62616467652e706e67)](https://www.versioneye.com/user/projects/530f5fcfec1375418400061f)[![Latest Stable Version](https://camo.githubusercontent.com/ec555d1d7a5d47ffe7e0a449f3043186dadc21600a75fcdf6ddc19fbf397e51d/68747470733a2f2f706f7365722e707567782e6f72672f686f626e6f622f786d6c2d73747265616d2d7265616465722f762f737461626c652e706e67)](https://packagist.org/packages/hobnob/xml-stream-reader)[![Montly Downloads](https://camo.githubusercontent.com/2fd58f4b542b02ed7b49b5debac93e2edd04fe593dce97b9fdd2cdc2a574b904/68747470733a2f2f706f7365722e707567782e6f72672f686f626e6f622f786d6c2d73747265616d2d7265616465722f642f6d6f6e74686c792e706e67)](https://packagist.org/packages/hobnob/xml-stream-reader)

[![Code Coverage](https://camo.githubusercontent.com/13ac28f9158feb692f7cfb9d2ce324792cd4d0464bbb02a1edd98b2e368d58db/68747470733a2f2f7363727574696e697a65722d63692e636f6d2f672f686f626e6f622f786d6c53747265616d5265616465722f6261646765732f636f7665726167652e706e673f733d65373132356439373463333335663036316564613964393533353862653461376561663965336163)](https://scrutinizer-ci.com/g/hobnob/xmlStreamReader/)[![Scrutinizer Quality Score](https://camo.githubusercontent.com/34f43e2263224fa4dd2e653e9e0d586214459eaac5fd58ee07783d17e8c5464f/68747470733a2f2f7363727574696e697a65722d63692e636f6d2f672f686f626e6f622f786d6c53747265616d5265616465722f6261646765732f7175616c6974792d73636f72652e706e673f733d38373765613562633733663164393734616166323566326331343563663263656137333965326561)](https://scrutinizer-ci.com/g/hobnob/xmlStreamReader/)[![SensioLabsInsight](https://camo.githubusercontent.com/3ae37aaa1cd645ec12d7fd6a81cc9bd4a007e71ca302d793159d4fa4b58ae1f2/68747470733a2f2f696e73696768742e73656e73696f6c6162732e636f6d2f70726f6a656374732f30363563326364342d373666342d346133362d623665352d6364353336383934326461662f6d696e692e706e67)](https://insight.sensiolabs.com/projects/065c2cd4-76f4-4a36-b6e5-cd5368942daf)

\##PHP XML Stream Reader

Reads XML from either a string or a stream, allowing the registration of callbacks when an elemnt is found that matches path.

Installation with Composer
--------------------------

[](#installation-with-composer)

Declare xmlStreamReader as a dependency in your projects `composer.json` file:

```
{
    "require": {
      "hobnob/xml-stream-reader": "1.0.*"
    }
}
```

Usage Example
-------------

[](#usage-example)

```
